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
@ -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