Skip to content

Commit

Permalink
update install(1) usage output
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Sep 12, 2024
1 parent 21ad51c commit da6513d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
23 changes: 23 additions & 0 deletions patches/src.freebsd.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8705,6 +8705,29 @@
}
metadata_log(path, "dir", NULL, NULL, NULL, 0);
}
@@ -1483,16 +1539,16 @@
usage(void)
{
(void)fprintf(stderr,
-"usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]\n"
-" [-M log] [-D dest] [-h hash] [-T tags]\n"
+"usage: install [-bCcDpSsTv] [-f flags] [-g group] [-m mode] [-o owner]\n"
" [-B suffix] [-l linkflags] [-N dbdir]\n"
" file1 file2\n"
-" install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]\n"
-" [-M log] [-D dest] [-h hash] [-T tags]\n"
+" install [-bCcDpSsv] [-f flags] [-g group] [-m mode] [-o owner]\n"
" [-B suffix] [-l linkflags] [-N dbdir]\n"
" file1 ... fileN directory\n"
-" install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]\n"
-" [-M log] [-D dest] [-h hash] [-T tags]\n"
+" install [-bCcDpSsv] [-f flags] [-g group] [-m mode] [-o owner]\n"
+" [-B suffix] [-l linkflags] [-N dbdir] -t directory\n"
+" file1 ... fileN\n"
+" install -dU [-v] [-g group] [-m mode] [-N dbdir] [-o owner]\n"
" directory ...\n");
exit(EX_USAGE);
/* NOTREACHED */
--- src.orig/dbcompat/btree/bt_close.c
+++ src.freebsd/dbcompat/btree/bt_close.c
@@ -35,7 +35,7 @@
Expand Down
12 changes: 6 additions & 6 deletions src.freebsd/coreutils/xinstall/xinstall.c
Original file line number Diff line number Diff line change
Expand Up @@ -1539,16 +1539,16 @@ static void
usage(void)
{
(void)fprintf(stderr,
"usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]\n"
" [-M log] [-D dest] [-h hash] [-T tags]\n"
"usage: install [-bCcDpSsTv] [-f flags] [-g group] [-m mode] [-o owner]\n"
" [-B suffix] [-l linkflags] [-N dbdir]\n"
" file1 file2\n"
" install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]\n"
" [-M log] [-D dest] [-h hash] [-T tags]\n"
" install [-bCcDpSsv] [-f flags] [-g group] [-m mode] [-o owner]\n"
" [-B suffix] [-l linkflags] [-N dbdir]\n"
" file1 ... fileN directory\n"
" install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]\n"
" [-M log] [-D dest] [-h hash] [-T tags]\n"
" install [-bCcDpSsv] [-f flags] [-g group] [-m mode] [-o owner]\n"
" [-B suffix] [-l linkflags] [-N dbdir] -t directory\n"
" file1 ... fileN\n"
" install -dU [-v] [-g group] [-m mode] [-N dbdir] [-o owner]\n"
" directory ...\n");
exit(EX_USAGE);
/* NOTREACHED */
Expand Down

0 comments on commit da6513d

Please sign in to comment.