Basic support of remembering correct passwords is implemented.
This commit is contained in:
@@ -21,6 +21,8 @@ peg::parser! {
|
||||
/ enc_cmd()
|
||||
/ pass_cmd()
|
||||
/ unpass_cmd()
|
||||
/ correct_cmd()
|
||||
/ uncorrect_cmd()
|
||||
/ noop_cmd()
|
||||
/ comment_cmd()
|
||||
) { c }
|
||||
@@ -85,6 +87,8 @@ peg::parser! {
|
||||
rule error_cmd() -> Command<'input> = "error" _ e:$(([' '..='~'])+) { Command::Error(LKErr::Error(e)) }
|
||||
rule mv_cmd() -> Command<'input> = "mv" _ name:word() _ folder:word() { Command::Mv(name, folder) }
|
||||
rule pass_cmd() -> Command<'input> = "pass" _ name:word() { Command::Pass(name) }
|
||||
rule correct_cmd() -> Command<'input> = "correct" _ name:word() { Command::Correct(name) }
|
||||
rule uncorrect_cmd() -> Command<'input> = "uncorrect" _ name:word() { Command::Uncorrect(name) }
|
||||
rule unpass_cmd() -> Command<'input> = "unpass" _ name:word() { Command::UnPass(name) }
|
||||
rule enc_cmd() -> Command<'input> = "enc" _ name:word() { Command::Enc(name) }
|
||||
rule rm_cmd() -> Command<'input> = "rm" _ name:word() { Command::Rm(name) }
|
||||
|
||||
Reference in New Issue
Block a user