~percona-toolkit-dev/percona-toolkit/release-2.2.2

« back to all changes in this revision

Viewing changes to bin/pt-ioprofile

  • Committer: Brian Fraser
  • Date: 2013-04-19 23:26:48 UTC
  • Revision ID: brian.fraser@percona.com-20130419232648-mjnd4rt9k4xldmjc
BuildĀ percona-toolkit-2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
 
346
346
      if [ "$next_opt_is_val" ]; then
347
347
         next_opt_is_val=""
348
 
         if [ $# -eq 0 ] || [ $(expr "$opt" : "-") -eq 1 ]; then
 
348
         if [ $# -eq 0 ] || [ $(expr "$opt" : "\-") -eq 1 ]; then
349
349
            option_error "$real_opt requires a $required_arg argument"
350
350
            continue
351
351
         fi
352
352
         val="$opt"
353
353
         opt_is_ok=1
354
354
      else
355
 
         if [ $(expr "$opt" : "-") -eq 0 ]; then
 
355
         if [ $(expr "$opt" : "\-") -eq 0 ]; then
356
356
            if [ -z "$ARGV" ]; then
357
357
               ARGV="$opt"
358
358
            else
1115
1115
 
1116
1116
=head1 VERSION
1117
1117
 
1118
 
pt-ioprofile 2.2.1
 
1118
pt-ioprofile 2.2.2
1119
1119
 
1120
1120
=cut
1121
1121