kmk_rm --version (return code: 0)
kmk_rm - kBuild version 0.1.9998 (r2814)
kmk_rm --help (return code: 0)
usage: kmk_rm [options] file ... or: kmk_rm --help or: kmk_rm --version Options: -f Attempt to remove files without prompting, regardless of the file permission. Ignore non-existing files. Overrides previous -i's. -i Prompt for each file. Always. -d Attempt to remove directories as well as other kinds of files. -P Overwrite regular files before deleting; three passes: ff,0,ff -R Attempt to remove the file hierachy rooted in each file argument. This option implies -d and file protection. -v Be verbose, show files as they are removed. -W Undelete without files. --disable-protection Will disable the protection file protection applied with -R. --enable-protection Will enable the protection file protection applied with -R. --enable-full-protection Will enable the protection file protection for all operations. --disable-full-protection Will disable the protection file protection for all operations. --protection-depth Number or path indicating the file protection depth. Default: 2 Environment: KMK_RM_DISABLE_PROTECTION Same as --disable-protection. Overrides command line. KMK_RM_ENABLE_PROTECTION Same as --enable-protection. Overrides everyone else. KMK_RM_ENABLE_FULL_PROTECTION Same as --enable-full-protection. Overrides everyone else. KMK_RM_DISABLE_FULL_PROTECTION Same as --disable-full-protection. Overrides command line. KMK_RM_PROTECTION_DEPTH Same as --protection-depth. Overrides command line. The file protection of the top 2 layers of the file hierarchy is there to try prevent makefiles from doing bad things to your system. This protection is not bulletproof, but should help prevent you from shooting yourself in the foot.