Sun, 17 Dec 2023 15:33:50 +0100
fix faulty string to int conversion utilities
Probably it was expected that errno is set to EINVAL when illegal characters are encountered. But this is not standard and does not happen on every system, allowing illegal strings to be parsed as valid integers.
702
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
1 | --- |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
2 | title: 'dav repository-url' |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
3 | --- |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
4 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
5 | Prints the url of an repository. |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
6 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
7 | **`dav repository-url [-p] <name>`** |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
8 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
9 | **`-p`** don't include user and password in the url |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
10 | |
444aa8fe133f
finish documentation of new dav-sync commands and options
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
694
diff
changeset
|
11 | **Command alias:** repo-url |