From: j8takagi Date: Wed, 24 Mar 2010 15:09:17 +0000 (+0900) Subject: casl2コマンド使い方の表示を変更 X-Git-Tag: v0.1p15~34 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df686f409d06eaac1e8909cbe453f256d56ae14f;p=YACASL2.git casl2コマンド使い方の表示を変更 --- diff --git a/src/casl2.c b/src/casl2.c index 7ec14fa..f66decd 100644 --- a/src/casl2.c +++ b/src/casl2.c @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) WORD beginptr[argc]; char *objfile = NULL; const char *usage = - "Usage: %s [-slLaAtTdh] [-oO] [-M ] [-C ] FILE ...\n"; + "Usage: %s [-slLaAtTdh] [-oO[]] [-M ] [-C ] FILE1[ FILE2 ...]\n"; /* エラーの初期化 */ cerr = malloc_chk(sizeof(CERR), "cerr"); diff --git a/test/integration/casl2/opt_h/0.txt b/test/integration/casl2/opt_h/0.txt index bf6a3cc..b2816e3 100644 --- a/test/integration/casl2/opt_h/0.txt +++ b/test/integration/casl2/opt_h/0.txt @@ -1,2 +1,2 @@ ../../../../casl2 -saltdh ../../../../as/sum_10.casl -Usage: ../../../../casl2 [-slLaAtTdh] [-oO] [-M ] [-C ] FILE ... +Usage: ../../../../casl2 [-slLaAtTdh] [-oO[]] [-M ] [-C ] FILE1[ FILE2 ...]