update doc lines

This commit is contained in:
postscriptum 2025-07-04 20:53:13 +03:00
parent ec047cfcee
commit e60c8cf724
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ snac2nex -s /path/to/snac/storage -t /path/to/nex -u user1 -u user2
Post filenames format Post filenames format
* append trailing slash to parse documents as the directory * append trailing slash to parse documents as the directory
* append `.gmi` or `.gemtext` extension to parse documents as the Gemtext * append `.gmi` or `.gemtext` extension to format documents as Gemtext
* escape with `%%` when using in `systemd` context * escape with `%%` when using in `systemd` context
* be careful when removing the seconds part, as it may cause overwrite collisions! * be careful when removing the seconds part, as it may cause overwrite collisions!

View file

@ -36,7 +36,7 @@ pub struct Config {
/// Post filenames format /// Post filenames format
/// ///
/// * append trailing slash to parse documents as the directory /// * append trailing slash to parse documents as the directory
/// * append `.gmi` or `.gemtext` extension to parse documents as the Gemtext /// * append `.gmi` or `.gemtext` extension to format documents as Gemtext
/// * escape with `%%` when using in `systemd` context /// * escape with `%%` when using in `systemd` context
/// * be careful when removing the seconds part, as it may cause overwrite collisions! /// * be careful when removing the seconds part, as it may cause overwrite collisions!
#[arg(long, default_value_t = String::from("%H-%M-%S"))] #[arg(long, default_value_t = String::from("%H-%M-%S"))]