summaryrefslogtreecommitdiff
path: root/examples/add.c
diff options
context:
space:
mode:
authorKrzysztof Adamski <k@japko.eu>2013-09-03 19:11:50 +0200
committerRussell Belfer <rb@github.com>2013-09-09 11:01:30 -0700
commite8fa14d3a33cb468b5559bf656d4fde4957c7c1a (patch)
tree416689fa2ca8cc5fa41ce21185ab5e6dbf2a404d /examples/add.c
parent62020aa8f999a89df8458dbf50540eb1aee5c97b (diff)
downloadlibgit2-e8fa14d3a33cb468b5559bf656d4fde4957c7c1a.tar.gz
Supported options information in add example.
Diffstat (limited to 'examples/add.c')
-rw-r--r--examples/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/add.c b/examples/add.c
index b4bc6a166..f1e7b7b7e 100644
--- a/examples/add.c
+++ b/examples/add.c
@@ -67,7 +67,7 @@ int main (int argc, char** argv)
struct print_payload payload = {0};
if (argc < 2) {
- fprintf(stderr, "usage: add file-spec [file-spec] [...]\n");
+ fprintf(stderr, "usage: add [-n|--dry-run] [-v|--verbose] file-spec [file-spec] [...]\n");
return 1;
}