aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/example.c b/doc/example.c
index 2ff562d..e62e73f 100644
--- a/doc/example.c
+++ b/doc/example.c
@@ -128,7 +128,7 @@ int main(int argc, char **argv)
/* if any non-option arguments were passed, print them */
if (result.argc > 0) {
- printf("\nnon-options:", result.argc);
+ printf("\nnon-options:");
for (i = 0; i < result.argc; i++)
printf(" %s", result.argv[i]);