aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpass.c
Commit message (Collapse)AuthorAgeFilesLines
* lpass: delete obvious commentsJoursoir2022-08-221-3/+2
|
* lpass: drop unnecessary variableJoursoir2022-08-221-3/+2
|
* lpass: try to change the dir a second time if the dir existsJoursoir2022-08-221-5/+4
| | | | | Let's unite two conditions. So, if mkdir() returns a non-zero value and errno equals EEXIST, we'll give a change and do chdir() again.
* lpass: create root directory only if it doesn't exist.Joursoir2022-08-211-9/+14
| | | | | No need to try to create a directory in other cases, because that won't help.
* lpass: use new macro to output error(s)Joursoir2022-08-211-4/+7
| | | | | | | | 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
* lpass: add cmd 'show'Joursoir2021-06-131-1/+3
| | | | | | | | | | Now you need to use the following command to list the contents of the password manager: lpass show [passname] If the command name is missing or was typed incorrectly, the 'help' command will be executed and will return 1. It will simplify the program when i add bash completion.
* lpass: call the function of command without argv[0]Joursoir2021-06-121-2/+2
|
* lpass: delete side effectJoursoir2021-06-121-3/+5
|
* rename main.c to lpass.cJoursoir2021-06-121-0/+91