Date: Thu, 9 Mar 2017 12:13:56 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r314957 - user/bapt/diff Message-ID: <201703091213.v29CDuSr033815@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Mar 9 12:13:56 2017 New Revision: 314957 URL: https://svnweb.freebsd.org/changeset/base/314957 Log: Update the usage() to reflect current reality Modified: user/bapt/diff/diff.c Modified: user/bapt/diff/diff.c ============================================================================== --- user/bapt/diff/diff.c Thu Mar 9 12:09:07 2017 (r314956) +++ user/bapt/diff/diff.c Thu Mar 9 12:13:56 2017 (r314957) @@ -435,13 +435,20 @@ void usage(void) { (void)fprintf(stderr, - "usage: diff [-aBbdilpTtw] [-c | -e | -f | -n | -q | -u] [-I pattern] [-L label]\n" - " file1 file2\n" - " diff [-aBbdilpTtw] [-I pattern] [-L label] -C number file1 file2\n" - " diff [-aBbdiltw] [-I pattern] -D string file1 file2\n" - " diff [-aBbdilpTtw] [-I pattern] [-L label] -U number file1 file2\n" - " diff [-aBbdilNPprsTtw] [-c | -e | -f | -n | -q | -u] [-I pattern]\n" - " [-L label] [-S name] [-X file] [-x pattern] dir1 dir2\n"); + "usage: diff [-aBbdilpTtw] [-c | -e | -f | -n | -q | -u] [--ignore-case]\n" + " [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize]\n" + " [-I pattern] [-L label] file1 file2\n" + " diff [-aBbdilpTtw] [-I pattern] [-L label] [--ignore-case]\n" + " [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize]\n" + " -C number file1 file2\n" + " diff [-aBbdiltw] [-I pattern] [--ignore-case] [--no-ignore-case]\n" + " [--normal] [--strip-trailing-cr] [--tabsize] -D string file1 file2\n" + " diff [-aBbdilpTtw] [-I pattern] [-L label] [--ignore-case]\n" + " [--no-ignore-case] [--normal] [--tabsize] [--strip-trailing-cr]\n" + " -U number file1 file2\n" + " diff [-aBbdilNPprsTtw] [-c | -e | -f | -n | -q | -u] [--ignore-case]\n" + " [--no-ignore-case] [--normal] [--tabsize] [-I pattern] [-L label]\n" + " [-S name] [-X file] [-x pattern] dir1 dir2\n"); exit(2); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703091213.v29CDuSr033815>