1
0
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:
Brooks Davis 2008-10-17 15:10:45 +00:00
parent 7dbb8c4cc3
commit 962b77f943
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183979

View File

@ -259,7 +259,7 @@ main(int argc, char **argv)
}
}
/* If no packages, yelp */
else if (!ch) {
if (!ch) {
warnx("missing package name(s)");
usage();
}