Commit e8fa14d3a33cb468b5559bf656d4fde4957c7c1a

Krzysztof Adamski 2013-09-03T19:11:50

Supported options information in add example.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/examples/add.c b/examples/add.c
index b4bc6a1..f1e7b7b 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;
 	}