Commit Graph

19 Commits

Author SHA1 Message Date
fd8db544bd
Add --nocolor switch.
Closes: #2
2021-05-25 11:52:13 +02:00
be229d25d6
Don't demand required options if --help or --version is requested.
All checks were successful
continuous-integration/drone/push Build is passing
Bump version to 0.1.2.
2021-05-25 07:15:04 +02:00
84e2b387e5
Clean up text before searching. 2021-05-24 16:01:41 +02:00
9c769f664d
Clarify documentation: NUM → NUMBER. 2021-05-24 08:23:52 +02:00
3222019c69
Add default value (0) to --context. 2021-05-24 08:14:29 +02:00
f388dd0511
Add --raw and --context switches. 2021-05-24 07:50:50 +02:00
5ac7f92f1d
Add hint to man page. 2021-05-24 06:03:32 +02:00
2ab4705475
Make --regexp required, show help if it is not given. 2021-05-24 05:45:42 +02:00
03e07dfc3e
Rework option parsing a bit.
- Add --basic-regexp
- Add --grep
- Remove --input-file
- Make it possible to have multiple --regexp
2021-05-23 16:23:07 +02:00
8c8a19b86b
Cosmetic changes. 2021-05-21 07:10:46 +02:00
031e2f0db6
Use sub-namespaces for functionality-groups. 2021-05-21 01:50:13 +02:00
7007d5e89a
Add single letter options. 2021-05-20 11:51:08 +02:00
231ec20cd5
Rename input → input-file. 2021-05-20 11:43:35 +02:00
9a136b87a9
Add --regexp and --input, add both as positional options. 2021-05-20 11:33:33 +02:00
bfb59da98d
std::filesystem compatibility for older GCC.
All checks were successful
continuous-integration/drone/push Build is passing
The header was in experimental a while ago and the implementation was a
separate library.
2021-05-20 10:37:45 +02:00
cf8fb95777
Switch to fs::path where appropriate.
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-20 10:20:42 +02:00
f95389d76c
Add support for config file. 2021-05-20 09:05:39 +02:00
94c25552a1
Add translation support, german translation. 2021-05-20 07:09:21 +02:00
678b506a8c
Initial commit.
- Add skeleton
- Add command-line parsing
2021-05-20 04:34:06 +02:00