Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd_insert: initialize password pointers | Joursoir | 2022-08-22 | 1 | -5/+3 |
| | | | | | The standard says: "If ptr is a null pointer, no action occurs". So, remove conditions. | ||||
* | cmd_insert: replace errprint_*() with print_error() | Joursoir | 2022-08-22 | 1 | -42/+45 |
| | | | | | | | | | | Handle errors using goto instead of "do { ... } while(0)". This is one of the steps on the way to get rid of errprint_*() macros and handle errors by yourself. For more context see other patches under the same topic specified below. TOPIC=drop_errprint | ||||
* | cmd_init: replace errprint_*() with print_error() | Joursoir | 2022-08-22 | 1 | -5/+9 |
| | | | | | | | | This is one of the steps on the way to get rid of errprint_*() macros and handle errors by yourself. For more context see other patches under the same topic specified below. TOPIC=drop_errprint | ||||
* | exec-cmd: add macro to print usage options | Joursoir | 2022-08-22 | 1 | -10/+12 |
| | |||||
* | tree: rename usageprint() to print_usage() | Joursoir | 2022-08-22 | 1 | -10/+10 |
| | | | | Rename macro based on naming rules. | ||||
* | tree: usageprint() macro no longer returns an error by itself | Joursoir | 2022-08-22 | 1 | -10/+31 |
| | | | | | | This patch also does: - Moves usageprint() from constants.h to output.h - Returns an error after using useprint() clearly. | ||||
* | exec-cmd: help: add info about 'show' | Joursoir | 2021-06-13 | 1 | -1/+4 |
| | |||||
* | lpass: call the function of command without argv[0] | Joursoir | 2021-06-12 | 1 | -9/+2 |
| | |||||
* | exec-cmd: show: handle argument '--no-color' | Joursoir | 2021-06-11 | 1 | -4/+6 |
| | |||||
* | refactor; set correct headers guard | Joursoir | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | move cmd to 'exec-cmd.c', fix some memory leak, macros changes | Joursoir | 2021-03-23 | 1 | -0/+495 |