aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2015-04-01 11:29:20 +0200
committerTomasz Kramkowski <tk@the-tk.com>2015-04-01 11:29:54 +0200
commite60bdf760f69760501e826957d6dac053bccede5 (patch)
tree00484bcaaa9438da02ff187b61c2d9cd478337d5
parentcbeac6412840ea0e978f14da08c5a5e02796c7e2 (diff)
downloadc-stuff-e60bdf760f69760501e826957d6dac053bccede5.tar.gz
c-stuff-e60bdf760f69760501e826957d6dac053bccede5.tar.xz
c-stuff-e60bdf760f69760501e826957d6dac053bccede5.zip
Improved rot.c error.
-rw-r--r--rot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rot.c b/rot.c
index b5b8b00..c7c6771 100644
--- a/rot.c
+++ b/rot.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014 Tomasz Kramkowski <tk@the-tk.com>
+ * Copyright (C) 2014 - 2015 Tomasz Kramkowski <tk@the-tk.com>
*
* This program is free software. It is licensed under version 3 of the
* GNU General Public License.
@@ -16,7 +16,7 @@
int main(int argc, char **argv)
{
if (argc != 3) {
- printf("Incorrect number of arguments.\n");
+ fprintf(stderr, "Usage: <text> <rotation>\a\n");
exit(1);
}