use canonical (unescapable) url format by default

This commit is contained in:
postscriptum 2025-07-03 21:58:06 +03:00
parent 927858ae2f
commit da163d2a87
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ snac2nex -s /path/to/snac/storage -t /path/to/nex -u user1 -u user2
* escaped with `%%` * escaped with `%%`
* be careful when removing seconds, as it may cause overwrite collisions * be careful when removing seconds, as it may cause overwrite collisions
[default: %H:%M:%S] [default: %H-%M-%S]
--format-updated <FORMAT_UPDATED> --format-updated <FORMAT_UPDATED>
Post `{updated}` time format Post `{updated}` time format

View file

@ -37,7 +37,7 @@ pub struct Config {
/// ///
/// * escaped with `%%` /// * escaped with `%%`
/// * be careful when removing seconds, as it may cause overwrite collisions /// * be careful when removing seconds, 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"))]
pub format_filename: String, pub format_filename: String,
/// Post `{updated}` time format /// Post `{updated}` time format