aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-05 14:46:07 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-05 14:46:07 +0000
commit27421a1878847389391c1a43420baaccf57057a7 (patch)
tree73e57d430a5828d242b78deb0a591a99f0df44a9 /include
parentbef14d7a878049a01f1fb9b412611a2d64c2b154 (diff)
downloadbusybox-w32-27421a1878847389391c1a43420baaccf57057a7.tar.gz
busybox-w32-27421a1878847389391c1a43420baaccf57057a7.tar.bz2
busybox-w32-27421a1878847389391c1a43420baaccf57057a7.zip
1) bb_opt_complementaly -> bb_opt_complementally
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 077b310b6..15af6c463 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -152,7 +152,7 @@ extern int bb_fclose_nonstdin(FILE *f);
152extern void bb_fflush_stdout_and_exit(int retval) __attribute__ ((noreturn)); 152extern void bb_fflush_stdout_and_exit(int retval) __attribute__ ((noreturn));
153 153
154#define BB_GETOPT_ERROR 0x80000000UL 154#define BB_GETOPT_ERROR 0x80000000UL
155extern const char *bb_opt_complementaly; 155extern const char *bb_opt_complementally;
156extern const struct option *bb_applet_long_options; 156extern const struct option *bb_applet_long_options;
157extern unsigned long bb_getopt_ulflags(int argc, char **argv, const char *applet_opts, ...); 157extern unsigned long bb_getopt_ulflags(int argc, char **argv, const char *applet_opts, ...);
158 158