diff options
author | Mattias Andrée <maandree@kth.se> | 2021-02-21 12:01:39 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-02-21 12:01:39 +0100 |
commit | 250376f60aeebbc215359e51ce003f0e104e7986 (patch) | |
tree | bce660d205538b8cba461d851421d35badd28514 /read-quickly.c | |
parent | Remove dist (diff) | |
download | read-quickly-250376f60aeebbc215359e51ce003f0e104e7986.tar.gz read-quickly-250376f60aeebbc215359e51ce003f0e104e7986.tar.bz2 read-quickly-250376f60aeebbc215359e51ce003f0e104e7986.tar.xz |
Rename to read-quickly2.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | read-quickly.c (renamed from rq.c) | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -131,7 +131,7 @@ get_terminal_size(void) /** * Get the selected word rate by reading - * the environment variable RQ_RATE. + * the environment variable READ_QUICKLY_RATE. * * @return The rate in words per minute. */ @@ -142,7 +142,7 @@ get_word_rate(void) long r; errno = 0; - s = getenv("RQ_RATE"); + s = getenv("READ_QUICKLY_RATE"); if (!s || !*s || !isdigit(*s)) return DEFAULT_RATE; @@ -389,7 +389,7 @@ main(int argc, char *argv[]) struct sigaction sa; /* Parse arguments. */ - argv0 = argv ? (argc--, *argv++) : "rq"; + argv0 = argv ? (argc--, *argv++) : "read-quickly"; if (argc && argv[0][0] == '-') { if (argv[0][1] == '-' && !argv[0][2]) { argc--; |