mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Display usage when pkg_add is called with no arguments.
PR: bin/121093 Submitted by: volker Approved by: portmgr (linimon) MFC after: 3 days
This commit is contained in:
parent
7dbb8c4cc3
commit
962b77f943
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183979
@ -259,7 +259,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
/* If no packages, yelp */
|
||||
else if (!ch) {
|
||||
if (!ch) {
|
||||
warnx("missing package name(s)");
|
||||
usage();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user