aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/numconvert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/numconvert.c b/src/numconvert.c
index f29f23d..4b1f196 100644
--- a/src/numconvert.c
+++ b/src/numconvert.c
@@ -148,7 +148,7 @@ int main(int argc, char * argv[])
148 const char * order; 148 const char * order;
149 149
150 // getopt options 150 // getopt options
151 static char short_opt[] = "AaBbDdf:hlOoqRrsVXx"; 151 static char short_opt[] = "AaBbDdf:hlOoqRrwVXx";
152 static struct option long_opt[] = 152 static struct option long_opt[] =
153 { 153 {
154 {"help", no_argument, 0, 'h'}, 154 {"help", no_argument, 0, 'h'},
@@ -230,7 +230,7 @@ int main(int argc, char * argv[])
230 opt |= MY_OPT_LEBIT; 230 opt |= MY_OPT_LEBIT;
231 break; 231 break;
232 232
233 case 's': 233 case 'w':
234 opt = MY_TOGGLE(opt, MY_OPT_SPACE); 234 opt = MY_TOGGLE(opt, MY_OPT_SPACE);
235 break; 235 break;
236 236
@@ -521,7 +521,7 @@ void my_usage()
521 printf(" -q suppress column names\n"); 521 printf(" -q suppress column names\n");
522 printf(" -R display binary in little endian byte order\n"); 522 printf(" -R display binary in little endian byte order\n");
523 printf(" -r display binary in little endian bit nad byte order\n"); 523 printf(" -r display binary in little endian bit nad byte order\n");
524 printf(" -s display binary value in 8 bit blocks\n"); 524 printf(" -w display output without spacing\n");
525 printf(" -X enable hexadecimal output\n"); 525 printf(" -X enable hexadecimal output\n");
526 printf(" -x assume hexadecimal notation for input\n"); 526 printf(" -x assume hexadecimal notation for input\n");
527 printf(" -V, --version print version number and exit\n"); 527 printf(" -V, --version print version number and exit\n");