diff options
author | ceri <ceri@FreeBSD.org> | 2006-09-26 22:28:12 +0000 |
---|---|---|
committer | ceri <ceri@FreeBSD.org> | 2006-09-26 22:28:12 +0000 |
commit | f4747864d3fe02476c8e0067a8981d3bdbb95801 (patch) | |
tree | f32045eeac0341d585a6cf7bd8c6f667370e7c0a /usr.bin/id/id.c | |
parent | 91aa6d24db852141d26a9980fe8d6d0ca4e5924b (diff) | |
download | FreeBSD-src-f4747864d3fe02476c8e0067a8981d3bdbb95801.zip FreeBSD-src-f4747864d3fe02476c8e0067a8981d3bdbb95801.tar.gz |
Add a -a option as a no-op for Solaris compatibility, as briefly
discussed on src-committers. This is intentionally not included in the
usage() function as it would confuse the output too much.
Approved by: jhb
MFC after: 1 week
Diffstat (limited to 'usr.bin/id/id.c')
-rw-r--r-- | usr.bin/id/id.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c index 854c9cd..729e97e 100644 --- a/usr.bin/id/id.c +++ b/usr.bin/id/id.c @@ -96,7 +96,7 @@ main(int argc, char *argv[]) } while ((ch = getopt(argc, argv, - (isgroups || iswhoami) ? "" : "APGMgnpru")) != -1) + (isgroups || iswhoami) ? "" : "APGMagnpru")) != -1) switch(ch) { #ifdef USE_BSM_AUDIT case 'A': @@ -112,6 +112,8 @@ main(int argc, char *argv[]) case 'P': Pflag = 1; break; + case 'a': + break; case 'g': gflag = 1; break; |