cmds: rename `ns` to `ns/cat`

This commit is contained in:
Giacomo Tesio 2017-10-25 00:22:26 +02:00
parent 320e6e6f35
commit 9d04fba8f2
3 changed files with 13 additions and 2 deletions

View File

@ -37,7 +37,6 @@
"mtime.c", "mtime.c",
"mv.c", "mv.c",
"netstat.c", "netstat.c",
"ns.c",
"p.c", "p.c",
"pipefile.c", "pipefile.c",
"ps.c", "ps.c",
@ -105,6 +104,7 @@
"hjfs/", "hjfs/",
"hoc/", "hoc/",
"ndb/", "ndb/",
"ns/",
"rc/", "rc/",
"rio/", "rio/",
"sam/", "sam/",

11
sys/src/cmd/ns/build.json Normal file
View File

@ -0,0 +1,11 @@
{
"ns": {
"Include": [
"../cmd.json"
],
"Install": "/arch/$ARCH/cmd/ns/",
"SourceFilesCmd": [
"cat.c"
]
}
}

View File

@ -38,7 +38,7 @@ int rflag;
void void
usage(void) usage(void)
{ {
fprint(2, "usage: ns [-r] [pid]\n"); fprint(2, "usage: ns/cat [-r] [pid]\n");
exits("usage"); exits("usage");
} }