agent: Add --force option for LEARN.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 3 Apr 2015 08:33:11 +0000 (17:33 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 3 Apr 2015 08:33:11 +0000 (17:33 +0900)
commit4ffadb74b3ada8a5d69ef8d87f4326df9bd97e97
tree4081a136e6da908756c76123dc8eeda924bd3953
parentd0ff2ee04187fbedacbe4d3884ee75d957a0b8c6
agent: Add --force option for LEARN.

* agent/command.c (cmd_learn): Handle --force option.
(cmd_keytocard): Don't update key storage file.
* agent/agent.h (agent_handle_learn): Add FORCE.
* agent/learncard.c (agent_handle_learn): Implement FORCE to update
key stroage file.
--
agent/agent.h
agent/command.c
agent/learncard.c