aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-15 11:50:41 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-15 11:50:41 +0000
commit84f75b0b94e73ab4d491825181cf74051751dad0 (patch)
tree07c4ad1c8052712b58d2e6472da0736b6fb5af66 /docs
parent8acf521432b75923c8ece0b4633a25062e30c255 (diff)
downloadbusybox-84f75b0b94e73ab4d491825181cf74051751dad0.tar.gz
doc: fix code example which may provoke warning
Diffstat (limited to 'docs')
-rw-r--r--docs/style-guide.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/style-guide.txt b/docs/style-guide.txt
index 5bb3441cd..381275a1d 100644
--- a/docs/style-guide.txt
+++ b/docs/style-guide.txt
@@ -682,7 +682,7 @@ Then have long options defined:
static const struct option <applet>_long_options[] = {
{ "list", 0, NULL, 't' },
{ "extract", 0, NULL, 'x' },
- { NULL }
+ { NULL, 0, NULL, 0 }
};
And a code block similar to the following near the top of your applet_main()