diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-16 22:21:23 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-01-16 22:21:23 +0100 |
commit | f79277999db1361e265650eeb8b9239dc271be93 (patch) | |
tree | d672fea258259f3f0490c241be8c6532a6ee0b4d /xe.c | |
parent | 65fc8164e4a7b4f9b4254ac0a561082ea1682be0 (diff) | |
download | xe-f79277999db1361e265650eeb8b9239dc271be93.tar.gz xe-f79277999db1361e265650eeb8b9239dc271be93.tar.xz xe-f79277999db1361e265650eeb8b9239dc271be93.zip |
fix callback to printf %s for -a
Diffstat (limited to 'xe.c')
-rw-r--r-- | xe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xe.c b/xe.c index c134e4d..0fc55a8 100644 --- a/xe.c +++ b/xe.c @@ -307,7 +307,7 @@ main(int argc, char *argv[], char *envp[]) pusharg("-c"); pusharg(sflag); pusharg("-"); - } else if (optind == cmdend) { + } else if (optind >= cmdend) { pusharg("printf"); pusharg("%s\\n"); } |