Josh Leeb-du Toit
984f04f142
Add print_error macros to replace functions
...
This patch replaces the `print_error` and `print_error_and_exit`
functions with equivalent macros.
2018-10-12 07:31:21 +02:00
Josh Leeb-du Toit
8691ab4bed
Minor changes to improve readability
...
This patch makes minor changes to make the code a little easier to
understand. For example, using the `?` operator in some fns that return
an `Option` type.
2018-10-04 09:44:09 +02:00
sharkdp
6a9f16e159
Run latest version of rustfmt
2018-04-13 23:13:22 +02:00
Matthias Reitinger
5784823aca
Unify execute_command across platforms
2017-12-09 21:10:48 -08:00
sharkdp
5ed7514096
Update error message if command could not be found
2017-11-15 23:24:11 +01:00
Matthias Reitinger
ccdbc76f5a
Fix execute_command on Unix
2017-11-15 23:18:36 +01:00
Matthias Reitinger
c18caaa6f6
Remove CommandTicket to avoid Vec allocation
2017-11-15 23:18:36 +01:00