From: 諏訪子 Date: Wed, 22 May 2024 09:38:07 +0000 (+0900) Subject: 使い方の修正 X-Git-Tag: sp-1.3.0~11 X-Git-Url: http://10.11.0.4:5575/?a=commitdiff_plain;h=af6d9c174fa0e31148bca8e2c5b34020e05d336c;p=sp.git 使い方の修正 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 88cc0c6..434921d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * ヘルプの表示の削除 (manpageをご利用下さい) * パスワード作成関数のデフォルトな長さは64に * manpageを細かくに +* 使い方の修正 # 1.2.0 * やっとTOTP機能性を修正した diff --git a/main.c b/main.c index e198893..9bdd81b 100644 --- a/main.c +++ b/main.c @@ -12,7 +12,7 @@ const char *sofname = "sp"; const char *version = "1.3.0"; void usage() { - printf("usage: %s-%s [-adegilosvy]\n", sofname, version); + printf("%s-%s\nusage: %s [-adegilosvy]\n", sofname, version, sofname); } char *getfullpath(char *arg) {