diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 2 | ||||
| -rw-r--r-- | src/docs/sorter.1 | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 683bad0..1ddcc7f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -18,7 +18,7 @@ $(TARGET): $(OBJS) $(AS) $(ASFLAGS) $< -o $@
deploy: $(TARGET)
- tar -czvf $(TARGET)-$(VER).tar.gz $(TARGET)
+ tar -czvf $(TARGET)-$(VER).tar.gz $(TARGET) docs/sorter.1
clean:
rm -f $(TARGET) $(OBJS) *.tar.gz
diff --git a/src/docs/sorter.1 b/src/docs/sorter.1 new file mode 100644 index 0000000..823872e --- /dev/null +++ b/src/docs/sorter.1 @@ -0,0 +1,23 @@ +.\" Manpage for myprog +.TH SORTER 1 "October 2025" "1.0" "Sorter Manual" +.SH NAME +sorter \- a simple program for sorting lists of coordinates +.SH SYNOPSIS +.B sorter +[OPTION] [file...] +.SH DESCRIPTION +A command-line sorting utility for sorting lists of coordinates. +.SH OPTIONS +.TP +\-h, \--help +Show help message and exit. +.TP +\-r, \--reverse +Sorts list of coordinates in descending order +.TP +\<file\> +Input file(s) to process. +.SH EXAMPLES +sorter file.txt +.SH SEE ALSO +sort(1) |