]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/lsns.c
lsns: nsfs stuff cleanup
authorKarel Zak <kzak@redhat.com>
Mon, 27 Nov 2017 15:58:19 +0000 (16:58 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Nov 2017 16:13:50 +0000 (17:13 +0100)
commit7eda2400dba79111b2938a8eb783cdca893f9cbf
tree56ac6092b663c6fd238ec4219b0ca50e55e11efb
parent7817b2ad088aba3283d45b7e9f7407acbfe693d2
lsns: nsfs stuff cleanup

* don't use booleans
* use is_ prefix for boolean-like functions
* make nsfs_xasputs() more readable
* enable 'nowrap' together with 'raw' and don't test for "nowrap || raw"
* add missing 'W' to getopt_long()

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lsns.c