aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorAchilles Gaikwad <agaikwad@redhat.com>2018-07-24 01:09:13 +0530
committerPádraig Brady <P@draigBrady.com>2018-09-29 22:39:26 -0700
commita32a756a58fec134836f85c2c8bfd58063ebc4c4 (patch)
tree357b404839dd1cb0b9953a0ca0f89021f51221a2 /scripts/git-hooks/commit-msg
parentdoc: csplit: clarify handling of regexps with negative offsets (diff)
downloadcoreutils-a32a756a58fec134836f85c2c8bfd58063ebc4c4.tar.gz
coreutils-a32a756a58fec134836f85c2c8bfd58063ebc4c4.zip
id: support multiple specified users
$ id root nobody uid=0(root) gid=0(root) groups=0(root) uid=99(nobody) gid=99(nobody) groups=99(nobody) * src/id.c (main): Make variables opt_zero, just_group_list, just_group, use_real, just_user global to be used in a new function. (print_stuff): New function that will print user and group information for the specified USER. When using -G option delimit each record with two NULs. Restructure the code in the file to have global variables followed by functions. * tests/id/zero.sh: Add test cases to check the usage of -z option with multiple users. * tests/id/uid.sh: Add a test case to ensure all users are queried in the presence of errors. * doc/coreutils.texi: Document the interface changes. * NEWS: Mention the new feature.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions