add -0 for outputting null-terminated list (#68)

* add -0 for outputting null-terminated list

this doesn't add much, if any, additional complexity to the codebase and
can be quite handy for scripting purposes.

Closes: https://github.com/nsxiv/nsxiv/issues/67

* Fix typo

Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
This commit is contained in:
N-R-K
2021-09-21 05:11:47 +06:00
committed by GitHub
parent 3234b0e521
commit 63972db743
3 changed files with 8 additions and 2 deletions

View File

@ -268,6 +268,7 @@ struct opt {
char **filenames;
bool from_stdin;
bool to_stdout;
char stdout_separator;
bool recursive;
int filecnt;
int startnum;