diff options
-rw-r--r-- | examples/example03_post_status.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example03_post_status.cpp b/examples/example03_post_status.cpp index f2e473a..62fc919 100644 --- a/examples/example03_post_status.cpp +++ b/examples/example03_post_status.cpp @@ -33,7 +33,7 @@ using std::vector; int main(int argc, char *argv[]) { const vector<string_view> args(argv, argv + argc); - if (args.size() <= 1) + if (args.size() <= 2) { cerr << "Usage: " << args[0] << " <instance hostname> <access token>\n"; return 1; |