summaryrefslogtreecommitdiffstats
path: root/programs/lz4cli.c
diff options
context:
space:
mode:
authorJennifer Liu <jenniferliu620@fb.com>2018-06-27 00:53:12 (GMT)
committerJennifer Liu <jenniferliu620@fb.com>2018-06-27 00:53:12 (GMT)
commit8745638d7c04bdfc33bcf656ed262c2588534db5 (patch)
tree27196bb510986fe2d96afe59ab67e7fcb69f2311 /programs/lz4cli.c
parent9ee5183d9bdfd2f39e8ae2e2a4efff25e61c226d (diff)
downloadlz4-8745638d7c04bdfc33bcf656ed262c2588534db5.zip
lz4-8745638d7c04bdfc33bcf656ed262c2588534db5.tar.gz
lz4-8745638d7c04bdfc33bcf656ed262c2588534db5.tar.bz2
Fixed invalid argument test and reformatted else
Diffstat (limited to 'programs/lz4cli.c')
-rw-r--r--programs/lz4cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index 669b585..dc60b00 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -385,8 +385,7 @@ int main(int argc, const char** argv)
fastLevel = readU32FromChar(&argument);
if (fastLevel) {
cLevel = -(int)fastLevel;
- }
- else {
+ } else {
badusage(exeName);
}
} else if (*argument != 0) {