From: Andrey Rys Date: Sun, 28 Aug 2022 10:58:18 +0000 (+0200) Subject: remove prefix from base64 builtin X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f19b128a9a0d1ee4a1afe581d877e97cfd84a803;p=tfcrypt.git remove prefix from base64 builtin --- diff --git a/.gitignore b/.gitignore index 923d987..0215c70 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ tfcrypt tfcrypt.upx sksum tfbench -tfbase64 +base64 diff --git a/VERSION b/VERSION index 1479e19..69a893a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -65 +66 diff --git a/tfc_error.c b/tfc_error.c index 2b50807..6f994ef 100644 --- a/tfc_error.c +++ b/tfc_error.c @@ -200,7 +200,7 @@ void usage(void) tfc_say("them is specified as \"-\", then reads are performed from stdin."); tfc_say("\n"); } - else if (!strcmp(progname, "tfbase64")) { + else if (!strcmp(progname, "base64")) { is_embedded_prog = YES; tfc_say("usage: %s [-ed] [source] [output]", progname); tfc_say("\n"); diff --git a/tfcrypt.c b/tfcrypt.c index bad1d43..cb126ae 100644 --- a/tfcrypt.c +++ b/tfcrypt.c @@ -770,7 +770,7 @@ _mkragain: lio = xread(mkfd, pblk, lrem); || !memcmp(progname+5, "sum", 3) || !memcmp(progname+6, "sum", 3))))) do_sksum(progname, argv+optind); - if (!strcmp(progname, "tfbase64")) do_edbase64(argv+optind); + if (!strcmp(progname, "base64")) do_edbase64(argv+optind); idx = optind;