summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadna Vigo <arivigodr@gmail.com>2020-10-16 18:56:17 +0200
committerAriadna Vigo <arivigodr@gmail.com>2020-10-16 18:56:17 +0200
commitf337143f0276c905c269e87a99d33aec0ac773bd (patch)
tree84e4562b7468a5772c36b5d2a7643ef2ecdf8928
parent98b3ea6b7d6f701f05e69f2b2b409a748aecccbd (diff)
Project is now named 'cras,' in lowercase
-rw-r--r--LICENSE2
-rw-r--r--README.md16
-rw-r--r--config.mk2
-rw-r--r--cras.114
-rw-r--r--cras.c2
5 files changed, 18 insertions, 18 deletions
diff --git a/LICENSE b/LICENSE
index 8d31cea..348540a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
Copyright 2020 Ariadna Vigo <arivigodr@gmail.com>
-Cras is licensed under the Apache License, Version 2.0 (the "License"); you may
+cras is licensed under the Apache License, Version 2.0 (the "License"); you may
not use these files except in compliance with the License. You may obtain a
copy of the License at:
diff --git a/README.md b/README.md
index be90504..5c4a80b 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# Cras - The Anti-Procrastination Tool
+# cras - The Anti-Procrastination Tool
-Cras is an unapologetic daily task planner and manager for your terminal and WM
+cras is an unapologetic daily task planner and manager for your terminal and WM
status bar. It holds your tasks only for a limited amount of time (24 hours,
by default).
## Build
-Cras doesn't require any external dependencies.
+cras doesn't require any external dependencies.
Build by using:
@@ -19,7 +19,7 @@ User configuration is performed by modifying config.h. A set of defaults is
provided in config.def.h.
## Usage
-Cras reads a task list from a file that is passed as an argument through the
+cras reads a task list from a file that is passed as an argument through the
command line. With no further options added, the default behavior is to output
the pending tasks, but only if the expiration time has not passed yet.
@@ -28,7 +28,7 @@ $ cras my-dev-todo
Tasks due for: Sat Jun 20 15:57:28 2020
#01 [TODO] Write README.md
-#02 [TODO] Set up git repo for Cras
+#02 [TODO] Set up git repo for cras
#03 [TODO] Succeed in life
3/0/3 to do/done/total
@@ -36,7 +36,7 @@ Tasks due for: Sat Jun 20 15:57:28 2020
To set a task list, pass the -n option and the name of the file that will hold
the list. The tasks will be read from standard input, each line being a new
-task. Cras stops reading when it reaches EOF.
+task. cras stops reading when it reaches EOF.
The -t and -T, followed by the task number, mark the task as done or pending,
respectively.
@@ -47,7 +47,7 @@ option. Deleting tasks is performed by using the -d option.
For further usage information, please refer to the cras(1) manual page.
## Install
-You may install Cras by running the following command as root:
+You may install cras by running the following command as root:
```
# make install
@@ -62,5 +62,5 @@ _cras_ means 'tomorrow' in Latin, hence the English word _procrastination_
means, literally, 'the act of posponing things for tomorrow.'
## License
-Cras is licensed under the Apache Public License version 2.0. See LICENSE
+cras is licensed under the Apache Public License version 2.0. See LICENSE
file for copyright and license details.
diff --git a/config.mk b/config.mk
index 3fe04e6..29b67a8 100644
--- a/config.mk
+++ b/config.mk
@@ -1,4 +1,4 @@
-# Cras version
+# cras version
VERSION = 0.4.2
# Customize below to your needs
diff --git a/cras.1 b/cras.1
index a341cb9..0749b06 100644
--- a/cras.1
+++ b/cras.1
@@ -1,7 +1,7 @@
.TH CRAS 1 cras\-VERSION
.SH NAME
.PP
-Cras - The Anti-Procrastination Tool
+cras - The Anti-Procrastination Tool
.SH SYNOPSIS
.PP
.B cras
@@ -11,7 +11,7 @@ Cras - The Anti-Procrastination Tool
.I file
.SH DESCRIPTION
.PP
-Cras is an unapologetic daily task planner and manager for your terminal and WM
+cras is an unapologetic daily task planner and manager for your terminal and WM
status bar. It holds your tasks only for a limited amount of time (24 hours, by
default).
.SH OPTIONS
@@ -48,27 +48,27 @@ as pending.
Show version information and exit.
.SH USAGE
.PP
-To set up a new task list, call Cras using the -n option. Cras will read each
+To set up a new task list, call cras using the -n option. cras will read each
new line from standard input as a new task, until EOF is reached. Add new tasks
to an already existing file using -n as well.
.PP
-The newly created task list will be readable by Cras only up to the expiry
+The newly created task list will be readable by cras only up to the expiry
date, which under the default configuration is 24 hours after originally saving
it. Use -t to mark a task as done and -T to mark it back as pending.
.PP
You may delete tasks by using the -d option followed by its identifying number.
.PP
-Running Cras with no options outputs the task list. For a summary, use the -o
+Running cras with no options outputs the task list. For a summary, use the -o
flag; this short-form output is suitable for printing to WM status bars.
.SH ENVIRONMENT VARIABLES
.PP
-Execution of Cras is affected by the following environment variables:
+Execution of cras is affected by the following environment variables:
.TP
.B NO_COLOR
Setting it to any value disables ANSI color escapes on output.
.SH CONFIGURATION
.PP
-Cras is configured by creating a custom config.h and recompiling the source
+cras is configured by creating a custom config.h and recompiling the source
code.
.SH BUGS
.PP
diff --git a/cras.c b/cras.c
index 77f2539..e2b0deb 100644
--- a/cras.c
+++ b/cras.c
@@ -322,7 +322,7 @@ main(int argc, char *argv[])
mode = OUT_MODE;
break;
case 'v':
- die("Cras %s. See LICENSE file for copyright and license "
+ die("cras %s. See LICENSE file for copyright and license "
"details.", VERSION);
break;
case 'd':