cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit afd4c4072ae0a46cd39edf78173a9ce884d729c0
parent c57529688ebc6a5e90c9806414cc9f505e2487a1
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon,  8 Jun 2020 09:42:02 +0300

bin: change usage

Diffstat:
Mbin/kiss-readlink.c | 2+-
Mbin/kiss-stat.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/kiss-readlink.c b/bin/kiss-readlink.c @@ -15,7 +15,7 @@ int main(int argc, char *argv[]) { strcat(bname, (basename(argv[1]))); if (argc != 2 || strcmp(argv[1], "--help") == 0) { - printf("usage: %s <file>\n", argv[0]); + printf("usage: %s [file]\n", argv[0]); return(1); } diff --git a/bin/kiss-stat.c b/bin/kiss-stat.c @@ -16,7 +16,7 @@ int main (int argc, char *argv[]) { // Exit if no or multiple arguments are given. if (argc != 2 || strcmp(argv[1], "--help") == 0) { - fprintf(stderr, "Usage: %s <pathname>\n", argv[0]); + fprintf(stderr, "Usage: %s [pathname]\n", argv[0]); return(1); }