summaryrefslogtreecommitdiff
path: root/coreutils/od.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-05-21 17:43:06 +0200
committerDenys Vlasenko2011-05-21 17:43:06 +0200
commit5c10fa5c241b116b8c623189a42673754b21dc8c (patch)
treea373490b460d40c02073b6f1f04450af281ea842 /coreutils/od.c
parent232ebaa5681790291154cf8e8203a02eec04f6d8 (diff)
downloadbusybox-5c10fa5c241b116b8c623189a42673754b21dc8c.zip
busybox-5c10fa5c241b116b8c623189a42673754b21dc8c.tar.gz
od: code shrink, fix "od --traditional FILE"
function old new delta parse_old_offset 107 125 +18 packed_usage 28715 28691 -24 od_main 2312 2275 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/od.c')
-rw-r--r--coreutils/od.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/od.c b/coreutils/od.c
index 31ebde2..fb11fcf 100644
--- a/coreutils/od.c
+++ b/coreutils/od.c
@@ -11,11 +11,12 @@
* Original copyright notice is retained at the end of this file.
*/
+//usage:#if !ENABLE_DESKTOP
//usage:#define od_trivial_usage
-//usage: "[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]"
+//usage: "[-aBbcDdeFfHhIiLlOovXx] [FILE]"
//usage:#define od_full_usage "\n\n"
-//usage: "Write an unambiguous representation, octal bytes by default, of FILE\n"
-//usage: "(or stdin) to stdout"
+//usage: "Print FILE (or stdin) unambiguously, as octal bytes by default"
+//usage:#endif
#include "libbb.h"
#if ENABLE_DESKTOP