MCPcopy Create free account
hub / github.com/AGWA/git-crypt / help_lock

Function help_lock

commands.cpp:1108–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108void 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}
1118int lock (int argc, const char** argv)
1119{
1120 const char* key_name = 0;

Callers 2

help_for_commandFunction · 0.85
lockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected