| 1106 | } |
| 1107 | |
| 1108 | void help_lock (std::ostream& out) |
| 1109 | { |
| 1110 | // |--------------------------------------------------------------------------------| 80 chars |
| 1111 | out << "Usage: git-crypt lock [OPTIONS]" << std::endl; |
| 1112 | out << std::endl; |
| 1113 | out << " -a, --all Lock all keys, instead of just the default" << std::endl; |
| 1114 | out << " -k, --key-name KEYNAME Lock the given key, instead of the default" << std::endl; |
| 1115 | out << " -f, --force Lock even if unclean (you may lose uncommited work)" << std::endl; |
| 1116 | out << std::endl; |
| 1117 | } |
| 1118 | int lock (int argc, const char** argv) |
| 1119 | { |
| 1120 | const char* key_name = 0; |
no outgoing calls
no test coverage detected