diff options
Diffstat (limited to 'src/actionhelper.c')
-rw-r--r-- | src/actionhelper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actionhelper.c b/src/actionhelper.c index e0876eb..c3b1b81 100644 --- a/src/actionhelper.c +++ b/src/actionhelper.c @@ -115,11 +115,16 @@ ListOpt list_make_options(cklist *args) { ListOpt listOpt = { ._lt = LT_NONE, ._lst = LST_PLAIN, + .attr = 0, .err = 0 }; if (list_size(args)) { do { + if (strcmp(list_get(args), "-a") == 0) { + listOpt.attr = 1; + continue; + } if (strcmp(list_get(args), "-t") == 0) { if (!list_next(args)) { listOpt.err = 1; |