summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2015-09-03 01:45:13 (GMT)
committerDaniel Colascione <dancol@dancol.org>2015-09-03 01:57:19 (GMT)
commit4f1ff58f829eb333a10c1c88f730e87a6eb8be32 (patch)
tree1f6ed3e3d40dc9f8158b964be8fc0667675e97dd /programs
parent975c06b1adb2a8741fb1615db4c1e52adbdd540d (diff)
downloadlz4-4f1ff58f829eb333a10c1c88f730e87a6eb8be32.zip
lz4-4f1ff58f829eb333a10c1c88f730e87a6eb8be32.tar.gz
lz4-4f1ff58f829eb333a10c1c88f730e87a6eb8be32.tar.bz2
Tweak error message
Diffstat (limited to 'programs')
-rw-r--r--programs/lz4cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index c82388c..505191b 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -542,7 +542,7 @@ int main(int argc, char** argv)
/* Check if output is defined as console; trigger an error in this case */
if (!strcmp(output_filename,stdoutmark) && IS_CONSOLE(stdout) && !forceStdout)
{
- DISPLAYLEVEL(1, "refusing to output to console\n");
+ DISPLAYLEVEL(1, "refusing to write to console without -c\n");
exit(1);
}