dj(1): Refactor source a bit, remove -Adq #125
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "dj"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dj -A
has been replaced withdj -a "\0"
or the more briefdj -a ''
.dj -d
was mostly necessary for debugging number parsing and putting it in an option rather than a compilation flag, while seemingly sensible at the time, is something I now regret.dj -q
can be replaced with something likedj -o /dev/null 2>&1 | grep -ve '^\t' -e 'Partial'
.These changes have also been made in the man page.
Additionally, I reworked the program to use more sensible scoping for variables (no more globals, except static allocations) and fixed some functions to make more sense in usage.
@ -104,3 +92,1 @@
.B -q
option is specified, a diagnostic message is printed. Then, the program exits
unless the
On a partial or empty read a diagnostic message is printed. Then, the program
@ -11,7 +11,7 @@ dj \(en disk jockey
.SH SYNOPSIS
If you update the manpage, update the date to the date when you updated it.
@ -81,4 +75,2 @@
DIAGNOSTICS section. Each invocation increments the debug level of the
program.
.IP \fB-H\fP
Prints diagnostics messages in a human-readable manner as described in the
This isn’t a change made here but this should say “diagnostic message” because it is an adjective and because it would be in line with the rest of the manpage.
WIP: dj(1): Refactor source a bit, remove -adqto WIP: dj(1): Refactor source a bit, remove -AdqWIP: dj(1): Refactor source a bit, remove -Adqto dj(1): Refactor source a bit, remove -AdqJust making sure you’ve implemented #113 before this is merged in.
Pull request closed