Roy Ivy III
26937b5d69
docs/README ~ fix markdown lint complaints (heading-style)
2021-04-07 20:37:52 -05:00
Roy Ivy III
04235854fa
docs/README ~ fix markdown lint complaints (no-trailing-spaces)
2021-04-07 20:37:34 -05:00
Sylvestre Ledru
717b875b5d
Merge pull request #2046 from ricardoaiglesias/timeout-clap
...
timeout: Moved argument parsing to clap
2021-04-07 23:19:36 +02:00
Sylvestre Ledru
0f71bf9c33
Merge pull request #2048 from tertsdiepraam/ls/refacter_tests
...
ls: refactor tests
2021-04-07 23:16:46 +02:00
Sylvestre Ledru
ac43052cc5
Merge pull request #1602 from wishawa/master
...
ptx: Improve performance: remove N^2 loop and reduce repetitive regex compilations.
2021-04-07 23:14:23 +02:00
Terts Diepraam
c65483f4be
tests: improve docstrings a bit
2021-04-07 11:48:21 +02:00
Terts Diepraam
2997413d64
ls: refactor tests
2021-04-07 11:48:01 +02:00
paulotten
52706372aa
Replace outdated time 0.1 dependancy with latest version of chrono ( #2044 )
...
* Replace outdated time 0.1 dependancy with latest version of chrono
I also noticed that times are being miscalculated on linux, so I fixed that.
* Add time test for issue #2042
* Cleanup use declarations
* Tie time test to `touch` feature
- if we compile with the right OS feature flag then we should have it,
even on Windows
2021-04-07 08:41:04 +02:00
Ricardo Iglesias
8232c527a3
timeout: tests passing.
...
Forgot to handle the case where no arguments were passed to the COMMAND.
Because ARGS can be empty, we need two separate cases for handling
options.values_of(options::ARGS)
2021-04-06 23:30:15 -07:00
Ricardo Iglesias
431a6ee1b5
timeout: Fixed ownership issues
...
Fixed some minor ownership issues in converting from the options to the
arguments to the timeout COMMAND.
Additionally, fixed a rustfmt issue in other files (fold/stdbuf.rs)
2021-04-06 23:07:52 -07:00
Ricardo Iglesias
ea0ead6a2e
Ran cargo lock update command.
2021-04-06 22:16:52 -07:00
Ricardo Iglesias
cccf89a48c
timeout: Moved argument parsing to clap
...
Changed from optparse to clap.
None of the logic within timeout has been changed, which could use some
refactoring, but that's beyond the scope of this commit.
2021-04-06 22:13:28 -07:00
Sylvestre Ledru
272c5d8516
Merge pull request #2039 from drocco007/fold-backspace-and-carriage-return
...
Fold backspace and carriage return
2021-04-06 23:32:13 +02:00
Sylvestre Ledru
b2b45d8af2
Merge branch 'master' into fold-backspace-and-carriage-return
2021-04-06 22:53:10 +02:00
Yagiz Degirmenci
c965effe07
fold: move to clap, add tests ( #2015 )
2021-04-06 22:51:27 +02:00
Sylvestre Ledru
f498a970d9
Merge pull request #2032 from jhscheer/test_relpath
...
relpath: refactor tests for #1982
2021-04-06 22:45:44 +02:00
Wisha Wa
7b20c79bdd
ptx: fix an incorrect option name in option parsing
2021-04-06 18:07:02 +00:00
Wisha Wa
5fc007b295
ptx: remove a hack that was added in attempt to mimick GNU ptx
2021-04-06 13:40:14 +00:00
Wisha Wa
f9fc3b5a1d
ptx: add explaination comments, replace mut with shadowing, and rename variables for clarity.
2021-04-06 13:37:16 +00:00
Sylvestre Ledru
45d70b0c98
Merge pull request #2033 from Gilnaa/panic_2021
...
Fixed panic!/assert! used with improper format strings
2021-04-06 13:46:07 +02:00
Gilad Naaman
bc426fb3af
Fixed panic!/assert! used with improper format strings
2021-04-06 14:23:54 +03:00
Wisha Wa
f00df3f3d8
Merge remote-tracking branch 'upstream/master'
2021-04-06 10:56:19 +00:00
Daniel Rocco
56bc7a44eb
fold: preserve carriage return and overwritten chars in output
2021-04-06 06:55:52 -04:00
Daniel Rocco
0b731dfd1a
fold: preserve backspace and overwritten chars in output
2021-04-06 06:55:52 -04:00
Sylvestre Ledru
cc4f32d87a
Merge pull request #2035 from tertsdiepraam/ls/hide_and_ignore
...
ls: add short option for ignore
2021-04-06 08:54:26 +02:00