aboutsummaryrefslogtreecommitdiff
path: root/manual/examples/argp-ex1.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples/argp-ex1.c')
-rw-r--r--manual/examples/argp-ex1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/manual/examples/argp-ex1.c b/manual/examples/argp-ex1.c
index c87ebbb532..50ac0ed978 100644
--- a/manual/examples/argp-ex1.c
+++ b/manual/examples/argp-ex1.c
@@ -1,5 +1,10 @@
/* Argp example #1 -- a minimal program using argp */
+/* This is (probably) the smallest possible program that
+ uses argp. It won't do much except give an error
+ messages and exit when there are any arguments, and print
+ a (rather pointless) messages for --help. */
+
#include <argp.h>
int main (int argc, char **argv)