diff --git a/getpkg/src/main.cpp b/getpkg/src/main.cpp index b02db44..1b715b9 100644 --- a/getpkg/src/main.cpp +++ b/getpkg/src/main.cpp @@ -701,6 +701,9 @@ void show_help() { std::cout << " hash Calculate hash of file or directory" << std::endl; std::cout << " Outputs raw hash value to stdout" << std::endl; std::cout << std::endl; + std::cout << " clean Clean up orphaned configs and symlinks" << std::endl; + std::cout << " Removes unused config files and dangling symlinks" << std::endl; + std::cout << std::endl; std::cout << " version Show getpkg version" << std::endl; std::cout << std::endl; std::cout << " help Show this help message" << std::endl; @@ -751,6 +754,7 @@ update version create hash +clean help )"; } else if (command == "version") { @@ -759,6 +763,8 @@ help return create_tool(argc, argv); } else if (command == "hash") { return hash_command(argc, argv); + } else if (command == "clean") { + return clean_tool(argc, argv); } else if (command == "help") { show_help(); } else {