Enable the -M and -N options of swapinfo, as advertised in the usage line.
This commit is contained in:
parent
84242bb2be
commit
1c80bb6275
@ -217,7 +217,7 @@ main(argc, argv)
|
|||||||
opts = argv[0];
|
opts = argv[0];
|
||||||
if (!strcmp(opts,"swapinfo")) {
|
if (!strcmp(opts,"swapinfo")) {
|
||||||
swapflag = 1;
|
swapflag = 1;
|
||||||
opts = "k";
|
opts = "kM:N:";
|
||||||
usage = "usage: swapinfo [-k] [-M core] [-N system]\n";
|
usage = "usage: swapinfo [-k] [-M core] [-N system]\n";
|
||||||
} else {
|
} else {
|
||||||
opts = "TM:N:fiknstv";
|
opts = "TM:N:fiknstv";
|
||||||
|
Loading…
Reference in New Issue
Block a user