Commit graph

10208 commits

Author SHA1 Message Date
Daniel Hofstetter
6247986a52 docs: add extension (short options with args) 2023-05-09 10:25:04 +02:00
Daniel Hofstetter
49fd7c5697
Merge pull request #4847 from sylvestre/boc
doc: show a warning when no tldr example
2023-05-09 08:07:53 +02:00
Daniel Hofstetter
71eb52fe46
Merge pull request #4848 from uutils/renovate/libc-0.x
fix(deps): update rust crate libc to 0.2.144
2023-05-09 07:03:48 +02:00
renovate[bot]
30c166ad40
fix(deps): update rust crate libc to 0.2.144 2023-05-08 16:28:38 +00:00
Sylvestre Ledru
caf9bfcadc doc: show a warning when no tldr example 2023-05-08 17:48:23 +02:00
Daniel Hofstetter
d769871374
Merge pull request #4831 from sylvestre/mv-hardlink
mv: 'mv source hardlink' should fail
2023-05-08 16:12:23 +02:00
Sylvestre Ledru
48b8cfa595 mv: adjust the tests - duplicate code + android
According to:
https://stackoverflow.com/questions/44913985/creating-hardlinks-and-symlinks-in-android
hardlink aren't expected to work on android + fat
2023-05-08 15:24:47 +02:00
Sylvestre Ledru
594f81a88a mv --backup=simple a b on hard links should not fail
touch a
ln a b
./target/debug/coreutils mv --backup=simple a b

GNU: tests/mv/hard-4.sh
2023-05-08 13:08:20 +02:00
Sylvestre Ledru
51da8bf7b3
Merge pull request #4843 from cakebaker/dd_remove_unused_imports
dd: fix "unused imports" warning in tests
2023-05-08 13:07:34 +02:00
Daniel Hofstetter
560ac3d6fb dd: fix "unused imports" warning in tests 2023-05-08 07:59:56 +02:00
Daniel Hofstetter
f9536e9914
Merge pull request #4842 from sylvestre/aze
dd: fix some clippy warnings 'variable does not need to be mutable'
2023-05-08 07:44:55 +02:00
Sylvestre Ledru
1b99376d95 mv: split exec into smaller functions 2023-05-07 23:08:44 +02:00
Sylvestre Ledru
a5a39b6ba8 mv: 'mv source hardlink' should fail
fixes: tests/mv/force.sh
2023-05-07 23:08:41 +02:00
Sylvestre Ledru
b7cf825887 uucore::fs add an hardlink detection 2023-05-07 23:04:52 +02:00
Sylvestre Ledru
916f014ef0 dd: fix some clippy warnings 'variable does not need to be mutable' 2023-05-07 18:46:08 +02:00
Sylvestre Ledru
00e1bbea33
Merge pull request #4839 from sylvestre/clippy
Fix some semicolon_if_nothing_returned
2023-05-07 09:55:29 +02:00
Sylvestre Ledru
aed607f443
Merge pull request #4838 from uutils/renovate/zip-0.x
chore(deps): update rust crate zip to 0.6.5
2023-05-06 23:17:23 +02:00
Sylvestre Ledru
e23bad1d4a
Merge pull request #4840 from uutils/renovate/libc-0.x
fix(deps): update rust crate libc to 0.2.143
2023-05-06 23:16:51 +02:00
renovate[bot]
214c027cfa
fix(deps): update rust crate libc to 0.2.143 2023-05-06 19:01:14 +00:00
Sylvestre Ledru
9dc8bc83a6
Merge pull request #4837 from m11o/tty-move-strings-to-md-file
tty: move help strings to markdown file
2023-05-06 19:51:23 +02:00
Sylvestre Ledru
b94d10f080 Fix some semicolon_if_nothing_returned 2023-05-06 19:35:44 +02:00
renovate[bot]
cad73d2ed3
chore(deps): update rust crate zip to 0.6.5 2023-05-06 16:29:49 +00:00
Daniel Hofstetter
93f28dacc0
Merge pull request #4834 from sylvestre/cognitive_complexity
Lower the clippy cognitive complexity & fix lines_filter_map_ok
2023-05-06 17:48:23 +02:00
Sylvestre Ledru
9ed7ac1481
Merge pull request #4826 from cakebaker/mv_4795
mv: if more than one of -i, -f, -n is specified, only the final one takes effect
2023-05-06 17:35:02 +02:00
m11o
1ac31ccfa0 tty: move help strings to markdown file 2023-05-07 00:27:16 +09:00
Daniel Hofstetter
5d2ea7ada7
Merge pull request #4835 from sylvestre/nextest
android: try to use nextest again
2023-05-06 16:58:02 +02:00
Sylvestre Ledru
d441d71aac
Merge pull request #4829 from m11o/tsort-move-strings-to-md-file
tsort: move help strings to markdown file
2023-05-06 14:55:49 +02:00
Sylvestre Ledru
cd688662ec fix some lines_filter_map_ok clippy warnings 2023-05-06 14:53:42 +02:00
Sylvestre Ledru
f8d7bebed3 ignore some cognitive_complexity for now 2023-05-06 14:50:55 +02:00
Sylvestre Ledru
e35d477a8c change the cognitive_complexity to a lower value 2023-05-06 14:50:40 +02:00
Daniel Hofstetter
40aaae003e
mv: improve help text
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-05-06 13:25:35 +02:00
Daniel Hofstetter
f19385c701
Merge pull request #4830 from uutils/renovate/sha3-0.x
chore(deps): update rust crate sha3 to 0.10.8
2023-05-06 13:16:53 +02:00
Sylvestre Ledru
ada1df2e8e android: try to use nextest again 2023-05-06 10:50:04 +02:00
Sylvestre Ledru
8f4367c3bc
to make it clearer 2023-05-06 10:32:18 +02:00
Sylvestre Ledru
ea26719e9a
Merge pull request #4828 from cakebaker/cp_fix_help_output
cp: fix "after help" output
2023-05-05 22:21:26 +02:00
renovate[bot]
55071b9ad5
chore(deps): update rust crate sha3 to 0.10.8 2023-05-05 19:32:32 +00:00
m11o
94daed8afb tsort: move help strings to markdown file 2023-05-06 00:34:55 +09:00
Daniel Hofstetter
4481604f87 cp: fix "after help" output 2023-05-05 16:12:34 +02:00
Daniel Hofstetter
ea2b725abb mv: fix help output 2023-05-05 15:17:37 +02:00
Daniel Hofstetter
93c8623da9 mv: if more than one of -i, -n, -f, latest "wins" 2023-05-05 15:17:37 +02:00
Daniel Hofstetter
4ee1118061
Merge pull request #4823 from shinhs0506/mv-i-dir-file
fix tests/mv/i-5.sh
2023-05-04 13:43:05 +02:00
John Shin
84567336a8 mv: update test case so it doesn't fail 2023-05-03 23:54:28 -07:00
Daniel Hofstetter
616a166e36
Merge pull request #4820 from sylvestre/thru-dangling-2
cp: fix cp -f f loop when loop is a symlink loop
2023-05-04 08:20:57 +02:00
Daniel Hofstetter
249b80abff
Merge pull request #4824 from m11o/fix-chgrp-markdown-file
fix help message in chgrp
2023-05-04 07:57:46 +02:00
m11o
a822890939 fix help message in chgrp 2023-05-04 08:41:56 +09:00
John Shin
1c8aac0883 mv: return err if response is negative when moving a dir to existing dest during an interactive mode 2023-05-03 16:05:21 -07:00
Sylvestre Ledru
832fd2d2c6 cp: fix cp -f f loop when loop is a symlink loop
Fix: tests/cp/thru-dangling.sh
2023-05-03 19:54:35 +02:00
Sylvestre Ledru
6547bec2ef uucore/detect_symlink_loop: add a function to detect symlink loops 2023-05-03 19:54:33 +02:00
Daniel Hofstetter
a97199f72a
Merge pull request #4796 from shinhs0506/mv-cp-update
mv, cp: add support for --update=none,all,older
2023-05-03 15:21:21 +02:00
Daniel Hofstetter
923a62c6be
mv: fix function/file names in tests 2023-05-03 10:07:46 +02:00