David Peter
|
20450310c9
|
Help text adjustments, do not require group-size to be present
|
2023-04-25 08:48:39 +02:00 |
|
RinHizakura
|
b251575d94
|
Change design for endianness command line option
|
2023-04-24 23:44:49 +08:00 |
|
RinHizakura
|
d703cdfd78
|
Fix comment error and grammarly
|
2023-04-24 23:10:25 +08:00 |
|
RinHizakura
|
08b903270f
|
Change endianness from boolean type to enum
|
2023-04-24 22:59:19 +08:00 |
|
David Peter
|
dd601e4792
|
Run cargo fmt
|
2023-04-21 21:28:52 +02:00 |
|
RinHizakura
|
564cf64b1b
|
Support both little and big endian dump
|
2023-04-21 21:26:43 +02:00 |
|
 sharifandDavid Peter
|
dfd7bdef49
|
Update src/bin/hexyl.rs
Co-authored-by: David Peter <sharkdp@users.noreply.github.com>
|
2022-12-07 17:33:35 -05:00 |
|
sharif
|
fd4aee2b85
|
Merge branch 'master' into owo
|
2022-12-07 16:51:30 -05:00 |
|
Sharif Haason
|
cf8e7ec079
|
Revert default color option to always
|
2022-12-07 16:48:20 -05:00 |
|
David Peter
|
1df35eeb63
|
Renme --group-bytes to --group-size
For `xxd`-compatibility reasons
see #121
|
2022-12-07 21:50:12 +01:00 |
|
David Peter
|
437a15f3d6
|
One panel by default is terminal is not wide enough
closes #182
|
2022-12-07 21:35:34 +01:00 |
|
David Peter
|
70fa092df1
|
Do not fail if output is not a TTY for --panels=auto
closes #184
|
2022-12-07 21:33:20 +01:00 |
|
Sharif Haason
|
b2f0e75ed2
|
Satisfy clippy
|
2022-12-06 13:22:34 -05:00 |
|
Sharif Haason
|
5bd76fd11b
|
Replace is-terminal with supports-color and make auto default for color
|
2022-12-06 11:24:53 -05:00 |
|
David Peter
|
8577a17b14
|
Ignore EPIPE silently
fixes a regression introduced in a6aeabfde4
closes #181
|
2022-12-05 09:30:13 +01:00 |
|
David Peter
|
f8601e5bc9
|
Merge pull request #180 from sharifhsn/altdeps
Replace outdated dependencies
|
2022-12-05 09:03:40 +01:00 |
|
Sharif Haason
|
188e753675
|
Replace atty with is-terminal
|
2022-12-04 21:42:44 -05:00 |
|
Sharif Haason
|
030235afb7
|
Improve help text for --base
|
2022-12-04 21:36:42 -05:00 |
|
Sharif Haason
|
7847e8cd33
|
Remove debug statement
|
2022-11-27 19:45:33 -05:00 |
|
Sharif Haason
|
fc794b290c
|
Account for new panel arguments
|
2022-11-27 17:19:33 -05:00 |
|
Sharif Haason
|
e6000a56f4
|
Parse -b argument
|
2022-11-27 17:18:38 -05:00 |
|
Sharif Haason
|
2861cd51ac
|
Adjust panel calculation to account for base and group
|
2022-11-27 17:17:52 -05:00 |
|
Sharif Haason
|
a8cffbb6df
|
Move group_bytes so it can be used for panels
|
2022-11-27 17:17:25 -05:00 |
|
Sharif Haason
|
7bb6343d2a
|
Add --base/-b argument
|
2022-11-27 17:16:48 -05:00 |
|
Sharif Haason
|
252b4e84c3
|
Merge branch 'master' into anstyle
|
2022-11-27 10:03:53 -05:00 |
|
David Peter
|
31c0bcfeae
|
Improve error messages
|
2022-11-26 13:07:06 +01:00 |
|
RinHizakura
|
c0f94ad6aa
|
Refine the support of byte grouping
|
2022-11-26 13:07:06 +01:00 |
|
RinHizakura
|
55fed5e3c0
|
Fix for clap4
|
2022-11-26 13:07:06 +01:00 |
|
RinHizakura
|
179c8f40a2
|
Support byte grouping
|
2022-11-26 13:07:06 +01:00 |
|
Sharif Haason
|
df1afdc73f
|
Merge branch 'anstyle' of https://github.com/sharifhsn/hexyl into anstyle
|
2022-11-18 16:15:12 -05:00 |
|
Sharif Haason
|
df1c36e5a7
|
Satisfy clippy
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
ac610f7bad
|
Add get_one and fix ordering
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
767740865f
|
Update predicate for default_value_if
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
1fb324f411
|
Use ArgAction for flags
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
3d0bc3d0eb
|
Replace 'value_of with get_one::<String>`
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
8a52261a50
|
Replace possible_values with value_parser
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
ccc4fb9ba9
|
Replace takes_value with num_args
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
0baa22f152
|
DeriveDisplayOrder now default
|
2022-11-18 19:22:24 +01:00 |
|
Sharif Haason
|
675ef6d4a8
|
Remove calls to ansi_term
|
2022-11-17 22:33:49 -05:00 |
|
Sharif Haason
|
15e8abfc9a
|
Complete architectural rewrite (intentionally fails)
|
2022-11-13 22:15:41 +01:00 |
|
Sharif Haason
|
966421c522
|
Undo inlining to satisfy MSRV
|
2022-11-13 22:15:41 +01:00 |
|
Sharif Haason
|
166c2cc46b
|
Inline StdoutLock variable
|
2022-11-13 22:15:41 +01:00 |
|
Sharif Haason
|
1c4c7ed9a5
|
Satisfy clippy
|
2022-11-13 22:15:41 +01:00 |
|
Sharif Haason
|
a6aeabfde4
|
Refactor code to replace manual buffering with BufReader and BufWriter
|
2022-11-13 22:15:41 +01:00 |
|
Sharif Haason
|
9602667991
|
Rename with_panels to num_panels
|
2022-10-04 18:09:47 +02:00 |
|
Sharif Haason
|
aa921ca184
|
Rename with_squeeze to enable_squeezing
|
2022-10-04 18:09:47 +02:00 |
|
Sharif Haason
|
80163764c3
|
Implement builder pattern
|
2022-10-04 18:09:47 +02:00 |
|
Sharif Haason
|
273ef0c045
|
Remove short options for panels and terminal-width
|
2022-09-11 21:45:06 +02:00 |
|
Sharif Haason
|
ac1a67e90c
|
Fix abbreviation clash
|
2022-09-11 21:45:06 +02:00 |
|
Sharif Haason
|
12324d615a
|
Rename --columns to --panels
|
2022-09-11 21:45:06 +02:00 |
|