aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/numconvert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/numconvert.c')
-rw-r--r--src/numconvert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/numconvert.c b/src/numconvert.c
index 23669ee..b852194 100644
--- a/src/numconvert.c
+++ b/src/numconvert.c
@@ -155,7 +155,7 @@ int main(int argc, char * argv[])
155 {NULL, 0, 0, 0 } 155 {NULL, 0, 0, 0 }
156 }; 156 };
157 157
158 opt = MY_OPT_SPACE; 158 opt = MY_OPT_SPACE | MY_OPT_LIMIT;
159 base = 0; 159 base = 0;
160 order = "abxod"; 160 order = "abxod";
161 bases = 0; 161 bases = 0;
@@ -204,7 +204,7 @@ int main(int argc, char * argv[])
204 return(0); 204 return(0);
205 205
206 case 'l': 206 case 'l':
207 opt |= MY_OPT_LIMIT; 207 opt = MY_TOGGLE(opt, MY_OPT_LIMIT);
208 break; 208 break;
209 209
210 case 'O': 210 case 'O':
@@ -472,7 +472,7 @@ void my_usage()
472 printf(" -d assume decimal notation for input\n"); 472 printf(" -d assume decimal notation for input\n");
473 printf(" -f order order of output values (default: \"abxod\")\n"); 473 printf(" -f order order of output values (default: \"abxod\")\n");
474 printf(" -h, --help print this help and exit\n"); 474 printf(" -h, --help print this help and exit\n");
475 printf(" -l print minimum number of bytes in hex and binary\n"); 475 printf(" -l print output assuming 64 bit numbers instead of 32 bit numbers\n");
476 printf(" -O enable octal output\n"); 476 printf(" -O enable octal output\n");
477 printf(" -o assume octal notation for input\n"); 477 printf(" -o assume octal notation for input\n");
478 printf(" -R display binary in little endian byte order\n"); 478 printf(" -R display binary in little endian byte order\n");