Sylvestre Ledru
caf9bfcadc
doc: show a warning when no tldr example
2023-05-08 17:48:23 +02:00
Sylvestre Ledru
f8d7bebed3
ignore some cognitive_complexity for now
2023-05-06 14:50:55 +02:00
Sylvestre Ledru
b33986de86
Merge pull request #4366 from BartMassey-upstream/name-weirdness
...
coreutils: fixed panic when multi-call binary has funny name
2023-04-28 09:27:05 +02:00
Daniel Hofstetter
3272d14fab
uudoc: fix clippy warnings
2023-04-21 10:14:44 +02:00
Daniel Hofstetter
658323184d
uudoc,uucore_procs: move md parsing to help_parser
2023-04-16 14:32:48 +02:00
Sylvestre Ledru
79d18ab656
generate manpages
2023-03-04 19:42:28 +01:00
Bart Massey
abc5cfb950
coreutils: fixed panic when multi-call binary has empty or non-UTF-8 name
...
The multi-call `coreutils` binary starts by trying to
convert its invocation path into a UTF-8 string, panicking
if this doesn't work.
This patch makes `coreutils` exit gracefully in this case.
2023-02-14 00:24:22 -08:00
Jeffrey Finkelstein
c6d9d7f11c
Clippy fixes
2023-02-13 21:33:42 -05:00
Sylvestre Ledru
c5728a61b4
fix some clippy warnings ( #4229 )
...
* fix some clippy warnings
* Fix the last two
2022-12-14 15:42:07 +01:00
Terts Diepraam
e155a5ea6d
uudoc: support after_help and read directly from markdown file
2022-11-29 22:54:41 +01:00
Terts Diepraam
42377626f6
docs: document extensions over GNU
...
docs: fix typos in extensions page
2022-11-11 00:44:44 +01:00
Terts Diepraam
ed6b4c8635
docs: fix usage string since clap 4
2022-10-15 22:30:52 +02:00
Sylvestre Ledru
23b0bb3da4
Merge pull request #3991 from tertsdiepraam/clap-4
...
Clap 4
2022-10-14 21:49:05 +02:00
Terts Diepraam
5c676ac268
docs: add installation page with package managers
2022-10-14 17:11:27 +02:00
Terts Diepraam
cbc8427419
uudoc: update to clap 4
2022-10-14 16:47:39 +02:00
Terts Diepraam
26309dc9d7
base{32, 64, enc}: update to clap 4
2022-10-13 16:22:24 +02:00
Daniel Hofstetter
9e8daf92dd
Replace deprecated value_of() with get_one()
2022-09-26 16:42:42 +02:00
Niyaz Nigmatullin
dc12639995
Fix completion with a clap update
2022-08-17 13:13:27 +03:00
Niyaz Nigmatullin
f4df7ea4a0
cargo +1.56.1 update
2022-08-17 13:13:27 +03:00
Daniel Hofstetter
07b218e55a
Replace possible_values() with value_parser()
2022-08-04 14:38:10 +02:00
Terts Diepraam
62d96db16b
docs: don't download the tldr archive ( #3415 )
...
The ureq dependency is causing compilation errors on various platforms (see #3184 , #3216 , #3375 ). Hence we remove that dependency and do not automatically download the archive anymore. Instead, we ask the user to download it separately when the archive is not found.
2022-04-17 21:33:51 +02:00
Terts Diepraam
f7d53889e8
Fix the platform icons not showing up in some browsers
2022-04-11 16:03:36 +02:00
Terts Diepraam
3c09c747dd
docs: show platforms for each util
2022-04-07 15:12:21 +02:00
Terts Diepraam
20212be4c8
fix clippy errors related to clap upgrade from 3.0.10 to 3.1.6
2022-03-17 22:46:56 +01:00
Terts Diepraam
722c5d268f
fix Rust 1.59 clippy lints
2022-02-25 09:39:48 +01:00
Terts Diepraam
53070141c1
all: add format_usage function ( #3139 )
...
This should correct the usage strings in both the `--help` and user documentation. Previously, sometimes the name of the utils did not show up correctly.
2022-02-21 17:14:03 +01:00
Sylvestre Ledru
be0b77e7a7
when help item has an \n, translate it to a <br />
...
example:
https://uutils.github.io/coreutils-docs/user/utils/ls.html / classify
2022-02-19 13:44:15 +01:00
Sylvestre Ledru
716444c7b1
user docs: move the examples after the options
2022-02-19 12:46:57 +01:00
Sylvestre Ledru
7870317178
Merge pull request #3152 from tertsdiepraam/docs-examples
...
docs: add examples from tldr-pages
2022-02-19 09:49:45 +01:00
Terts Diepraam
69a94e412b
docs: use rust libraries for downloading and unzipping tldr
2022-02-19 01:27:19 +01:00
Terts Diepraam
f57e3470ae
docs: add examples from tldr-pages
2022-02-17 19:35:56 +01:00
Sylvestre Ledru
65467ab317
Merge pull request #3137 from tertsdiepraam/docs-multiline-usage
...
docs: allow for multiline usage
2022-02-15 10:26:47 +01:00
Terts Diepraam
ac11d8793e
docs: add page with test coverage
2022-02-13 23:14:13 +01:00
Terts Diepraam
4f7f4445cb
docs: allow for multiline usage
2022-02-13 21:45:43 +01:00
Daniel Eades
4f8d1c5fcf
add additional lints
2022-01-31 20:40:47 +01:00
Sylvestre Ledru
de07df5992
Merge pull request #2963 from danieleades/refactor/code-quality
...
Refactor/code quality
2022-01-30 18:26:16 +01:00
Daniel Eades
784f2e2ea1
use semicolons if nothing returned
2022-01-30 15:08:26 +01:00
Daniel Eades
5af66753af
remove needless borrows
2022-01-30 14:01:21 +01:00
Zachary Dremann
bb41f4ffe5
Use a PHF map for util_map()
...
Rather than building a HashMap at compile time, use the phf (and phf_codegen) crate to build the map
at compile time in build.rs
2022-01-30 06:58:33 -05:00
Terts Diepraam
a575932115
uudoc: fix clippy lint
2022-01-22 11:59:41 +01:00
Terts Diepraam
a3ca29b612
docs: create SUMMARY.md automatically
2022-01-22 11:49:33 +01:00
Terts Diepraam
9618a2f21d
docs: remove custom files
2022-01-21 20:18:36 +01:00
Terts Diepraam
ab3623f65a
docs: usage and values for options
2022-01-21 19:20:55 +01:00
Terts Diepraam
5ff4796b12
docs: add version
2022-01-20 23:20:29 +01:00
Terts Diepraam
cf42008150
autogenerated mdbook documentation
2022-01-20 16:49:44 +01:00
Terts Diepraam
951035e49c
mdbook docs
2022-01-20 15:00:36 +01:00
Terts Diepraam
c93298f32c
coreutils: clap 3
2022-01-11 19:16:48 +01:00
Jan Verbeek
259f18fcab
Update message quoting and filename printing
2021-09-07 19:49:01 +02:00
Michael Debertol
44981cab01
refactor/uucore ~ correct implementation of executable!() for multicall
...
- Use an atomic bool to track whether the utility name is the second
or the first argument.
- Add tests
2021-08-14 14:01:34 +02:00
Michael Debertol
0dda72eb60
coreutils: better errors for invalid args for completions
...
Use clap to extract command line arguments. This generates much better
error messages.
2021-06-27 16:07:43 +02:00