Skip to content

Improve mkiocccentry usage string #1191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ defeat the purpose of the answers file). The use of `-Y` is highly discouraged
unless you are **certain** you're good to go and it is mostly used for
`mkiocccentry_test.sh` which needs to be non-interactive.

Improve usage string about `workdir` and `topdir` to make certain things a bit
clearer.

Updated `MKIOCCCENTRY_VERSION` to `"1.2.35 2025-02-27"`.
Updated `MKIOCCCENTRY_TEST_VERSION` to` "1.0.15 2025-02-26"`.

Expand Down
5 changes: 3 additions & 2 deletions mkiocccentry.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static const char * const usage_msg1 =
"\t-t tar\t\tpath to tar(1) that supports the -J (xz) option (def: %s)\n"
"\t-l ls\t\tpath to ls(1) (def: %s)\n"
"\t-T txzchk\tpath to txzchk(1) (def: %s)\n"
"\t-e\t\tentertainment mode\n"
"\t-e\t\tentertainment mode (for txzchk)\n"
"\t-f feathers\tdefine how many feathers is feathery (for -e)\n"
"\t-F fnamchk\tpath to fnamchk(1) (used by txzchk) (def: %s)";
static const char * const usage_msg2 =
Expand All @@ -152,8 +152,9 @@ static const char * const usage_msg3 =
"\t\t\t NOTE: you can ignore more than one file or directory with multiple -I args\n";
static const char * const usage_msg4 =
"\tworkdir\t\tdirectory where the submission directory and tarball are formed\n"
"\t\t\t NOTE: the submission directory under this directory must NOT exist\n"
"\ttopdir\t\tdirectory with required, optional and extra files and/or directories\n"
"\t\t\t to be copied to tarball\n";
"\t\t\t NOTE: the topdir MUST have your prog.c, Makefile and remarks.md\n";
static const char * const usage_msg5 =
"\n"
"Exit codes:\n"
Expand Down