summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2014-12-01 07:53:29 -0700
committerMike Buland <eichlan@xagasoft.com>2014-12-01 07:53:29 -0700
commit4d0ab515cc4142b22247e26f1b57b5cd0a6b31d5 (patch)
tree5ec74681e91d6c37c25b5e04926f4e193f48ed7c /src/options.h
parent9f7cbe624a91008a4cbe47c7b369c5e3f96a4eff (diff)
downloadclic-4d0ab515cc4142b22247e26f1b57b5cd0a6b31d5.tar.gz
clic-4d0ab515cc4142b22247e26f1b57b5cd0a6b31d5.tar.bz2
clic-4d0ab515cc4142b22247e26f1b57b5cd0a6b31d5.tar.xz
clic-4d0ab515cc4142b22247e26f1b57b5cd0a6b31d5.zip
Added "--sum" command line option.
Reads in a list of numbers on standard in, one per line, and sums them.
Diffstat (limited to '')
-rw-r--r--src/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h
index 9afa0ac..f3f59a6 100644
--- a/src/options.h
+++ b/src/options.h
@@ -18,6 +18,7 @@ private:
18 int isPrime( Bu::StringArray aArgs ); 18 int isPrime( Bu::StringArray aArgs );
19 int convert( Bu::StringArray aArgs ); 19 int convert( Bu::StringArray aArgs );
20 int execute( Bu::StringArray aArgs ); 20 int execute( Bu::StringArray aArgs );
21 int sum( Bu::StringArray aArgs );
21 int version( Bu::StringArray aArgs ); 22 int version( Bu::StringArray aArgs );
22 23
23 int iScale; 24 int iScale;