]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsns: rename notruns to no_trunc
authorKarel Zak <kzak@redhat.com>
Mon, 27 Nov 2017 16:04:29 +0000 (17:04 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Nov 2017 16:13:50 +0000 (17:13 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lsns.c

index 4a75f1475a0b2828b0c36eafe21527b7de560774..19044fbfecce5ac5ddb95555dd1c22f8941207b6 100644 (file)
@@ -172,7 +172,7 @@ struct lsns {
                     json       : 1,
                     tree       : 1,
                     list       : 1,
-                    notrunc    : 1,
+                    no_trunc   : 1,
                     no_headings: 1,
                     no_wrap    : 1;
 
@@ -783,7 +783,7 @@ static struct libscols_table *init_scols_table(struct lsns *ls)
                int flags = col->flags;
                struct libscols_column *cl;
 
-               if (ls->notrunc)
+               if (ls->no_trunc)
                       flags &= ~SCOLS_FL_TRUNC;
                if (ls->tree && get_column_id(i) == COL_COMMAND)
                        flags |= SCOLS_FL_TREE;
@@ -980,7 +980,7 @@ int main(int argc, char *argv[])
                        ls.no_wrap = ls.raw = 1;
                        break;
                case 'u':
-                       ls.notrunc = 1;
+                       ls.no_trunc = 1;
                        break;
                case 't':
                {