Added some newlines to help output.
This commit is contained in:
parent
7b0d7ce7a7
commit
a771e28f3b
1 changed files with 3 additions and 0 deletions
|
|
@ -154,7 +154,9 @@ void prompt_for_input(char *buffer, size_t size, const char *prompt, int hide_in
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_usage(const char *prog_name) {
|
void print_usage(const char *prog_name) {
|
||||||
|
fprintf(stderr, "\n");
|
||||||
fprintf(stderr, "Usage: %s [-u <username>] [-p <password>] [-i] [-v] [-h]\n", prog_name);
|
fprintf(stderr, "Usage: %s [-u <username>] [-p <password>] [-i] [-v] [-h]\n", prog_name);
|
||||||
|
fprintf(stderr, "\n");
|
||||||
fprintf(stderr, "Options:\n");
|
fprintf(stderr, "Options:\n");
|
||||||
fprintf(stderr, " -u <username> Specify username.\n");
|
fprintf(stderr, " -u <username> Specify username.\n");
|
||||||
fprintf(stderr, " -p <password> Specify password.\n");
|
fprintf(stderr, " -p <password> Specify password.\n");
|
||||||
|
|
@ -162,6 +164,7 @@ void print_usage(const char *prog_name) {
|
||||||
fprintf(stderr, " -v Enable verbose mode.\n");
|
fprintf(stderr, " -v Enable verbose mode.\n");
|
||||||
fprintf(stderr, " -V Show program version.\n");
|
fprintf(stderr, " -V Show program version.\n");
|
||||||
fprintf(stderr, " -h Show this help.\n");
|
fprintf(stderr, " -h Show this help.\n");
|
||||||
|
fprintf(stderr, "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue