diff options
| author | elioat <elioat@tilde.institute> | 2026-01-08 23:36:58 -0500 |
|---|---|---|
| committer | elioat <elioat@tilde.institute> | 2026-01-08 23:36:58 -0500 |
| commit | dc4862c275b5401bde893e0d571c90ba66a74a22 (patch) | |
| tree | 36e2e08ae97edda3d29d111f3d21b4ee5b803c8b | |
| parent | fdb34b63b3e4e2a9da1b53c3a047b9f2347a7710 (diff) | |
| download | tour-dc4862c275b5401bde893e0d571c90ba66a74a22.tar.gz | |
*
| -rw-r--r-- | c/moon/moon.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/c/moon/moon.c b/c/moon/moon.c index 9e97429..fb54492 100644 --- a/c/moon/moon.c +++ b/c/moon/moon.c @@ -1,6 +1,6 @@ /* standalone moon phase calculation */ /* clang -lm moon.c -o moon && ./moon */ -/* via http://wiki.xxiivv.com/etc/moon.c.txt */ +/* forked from http://wiki.xxiivv.com/etc/moon.c.txt */ #include <stdio.h> #include <stdlib.h> @@ -497,15 +497,15 @@ print_help(const char *prog) printf(" MONTH month number (1-12)\n"); printf(" YEAR year (e.g., 2026)\n\n"); printf("Examples:\n"); - printf(" %s # current month\n", prog); - printf(" %s 1 2026 # January 2026\n", prog); - printf(" %s -v 2 2026 # February 2026 with visual icons\n", prog); + printf(" %s # current month\n", prog); + printf(" %s 1 2026 # January 2026\n", prog); + printf(" %s -v 2 2026 # February 2026 with visual icons\n", prog); printf(" %s -d 2026-01-15 # phase on specific date\n", prog); printf(" %s -d 2026-01-15 -v # with visual icon\n", prog); - printf(" %s -t # today's moon phase\n", prog); - printf(" %s -t -v -q # today's percentage with icon\n", prog); - printf(" %s -n -v # next new moon with icon\n", prog); - printf(" %s -f -v # next full moon with icon\n", prog); + printf(" %s -t # today's moon phase\n", prog); + printf(" %s -t -v -q # today's percentage with icon\n", prog); + printf(" %s -n -v # next new moon with icon\n", prog); + printf(" %s -f -v # next full moon with icon\n", prog); } int @@ -619,4 +619,4 @@ main(int argc, char **argv) print_month(year, month, visual); return 0; -}
\ No newline at end of file +} |