mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
chore: make --help less intrusive
This commit is contained in:
1 file changed
+33
-38
+33
-38
@@ -84,70 +84,65 @@ void print_usage(char* argv) {
|
||||
" -h, --help Print usage information\n"
|
||||
" -v, --version Print version\n\n"
|
||||
"Options:\n\n"
|
||||
" --cli [f] Use command line interface\n"
|
||||
" --cli Use command line interface\n"
|
||||
#ifdef WITH_GUI
|
||||
" --gui [f] Use graphical user interface\n"
|
||||
" --gui Use graphical user interface\n"
|
||||
#endif
|
||||
#ifdef WITH_TUI
|
||||
" --tui [f] Use terminal user interface\n"
|
||||
" --tui Use terminal user interface\n"
|
||||
#endif
|
||||
" --dark-blockchain [f] Enable dark blockchain\n"
|
||||
" --force-revert [f] Force environment reversion\n"
|
||||
" --force-enable-ssv [f] Force SSV detection to result in YES\n"
|
||||
" -l, --rootless [f] Enable rootless mode (standard)\n"
|
||||
" -f, --rootful [f] Boots fakefs\n"
|
||||
" -c, --setup-fakefs [f] Setup fake filesystem\n"
|
||||
" -B, --setup-partial-fakefs [f] Setup partial fake filesystem\n"
|
||||
" -s, --safe-mode [f] Enable safe mode\n"
|
||||
" -T, --telnetd [f] Enable TELNET daemon on port 46 (insecure)\n"
|
||||
" -V, --verbose-boot [f] Enable verbose booting\n"
|
||||
" -p, --early-exit [f] Exit after uploading Pongo\n"
|
||||
" --dark-blockchain Enable dark blockchain\n"
|
||||
" --force-revert Force environment reversion\n"
|
||||
" --force-enable-ssv Force SSV detection to result in YES\n"
|
||||
" -l, --rootless Enable rootless mode (standard)\n"
|
||||
" -f, --rootful Boots fakefs\n"
|
||||
" -c, --setup-fakefs Setup fake filesystem\n"
|
||||
" -B, --setup-partial-fakefs Setup partial fake filesystem\n"
|
||||
" -s, --safe-mode Enable safe mode\n"
|
||||
" -T, --telnetd Enable TELNET daemon on port 46 (insecure)\n"
|
||||
" -V, --verbose-boot Enable verbose booting\n"
|
||||
" -p, --early-exit Exit after uploading Pongo\n"
|
||||
" -e, --extra-bootargs <BOOTARGS> Set extra bootargs\n"
|
||||
" -k, --override-pongo <FILE PATH> Override Pongo image\n"
|
||||
" -K, --override-kpf <FILE PATH> Override kernel patchfinder\n"
|
||||
" -o, --override-overlay <FILE PATH> Override overlay\n"
|
||||
" -r, --override-ramdisk <FILE PATH> Override ramdisk\n"
|
||||
" -d, --debug-logging Enable debug logging\n"
|
||||
" -n, --no-colors [f] Disable colors on the command line\n"
|
||||
" -n, --no-colors Disable colors on the command line\n"
|
||||
#if defined(WITH_GUI) || defined(WITH_TUI)
|
||||
" -q, --quick [f] Enable Quick Mode\n"
|
||||
" -q, --quick Enable Quick Mode\n"
|
||||
#endif
|
||||
"\nEnvironment Variables:\n\n"
|
||||
#if WITH_CIDERRAIN
|
||||
" RA1N_ABORT_TIMEOUT=0 Set a custom timeout value (0 to 999999999) for the exploit abort timer.\n"
|
||||
" While the default value is sufficient for standard platforms (intel or\n"
|
||||
" Apple Silicon), this variable allows for timing adjustments on specific\n"
|
||||
" environments like Linux (AMD) or Raspberry Pi (ARM64) where the exploit \n"
|
||||
" may fail due to platform-specific USB stack behavior.\n"
|
||||
" e.g. Raspberry Pi 5: RA1N_ABORT_TIMEOUT=1000000\n"
|
||||
" RA1N_ABORT_TIMEOUT=1000000 Custom timeout value for the exploit abort timer.\n"
|
||||
#endif
|
||||
" RA1N_CLI=1 [f] Use command line interface\n"
|
||||
" RA1N_CLI=1 Use command line interface\n"
|
||||
#ifdef WITH_GUI
|
||||
" RA1N_GUI=1 [f] Use graphical user interface\n"
|
||||
" RA1N_GUI=1 Use graphical user interface\n"
|
||||
#endif
|
||||
#ifdef WITH_TUI
|
||||
" RA1N_TUI=1 [f] Use terminal user interface\n"
|
||||
" RA1N_TUI=1 Use terminal user interface\n"
|
||||
#endif
|
||||
" RA1N_DARK_BLOCKCHAIN=1 [f] Enable dark blockchain\n"
|
||||
" RA1N_FORCE_REVERT=1 [f] Force environment reversion\n"
|
||||
" RA1N_FORCE_ENABLE_SSV=1 [f] Force SSV detection to result in YES\n"
|
||||
" RA1N_ROOTLESS=1 [f] Enable rootless mode (standard)\n"
|
||||
" RA1N_ROOTFUL=1 [f] Boots fakefs\n"
|
||||
" RA1N_SETUP_FAKEFS=1 [f] Setup fake filesystem\n"
|
||||
" RA1N_SETUP_PARTIAL_FAKEFS=1 [f] Setup partial fake filesystem\n"
|
||||
" RA1N_SAFE_MODE=1 [f] Enable safe mode\n"
|
||||
" RA1N_TELNETD=1 [f] Enable TELNET daemon on port 46 (insecure)\n"
|
||||
" RA1N_VERBOSE_BOOT=1 [f] Enable verbose booting\n"
|
||||
" RA1N_EARLY_EXIT=1 [f] Exit after uploading Pongo\n"
|
||||
" RA1N_DARK_BLOCKCHAIN=1 Enable dark blockchain\n"
|
||||
" RA1N_FORCE_REVERT=1 Force environment reversion\n"
|
||||
" RA1N_FORCE_ENABLE_SSV=1 Force SSV detection to result in YES\n"
|
||||
" RA1N_ROOTLESS=1 Enable rootless mode (standard)\n"
|
||||
" RA1N_ROOTFUL=1 Boots fakefs\n"
|
||||
" RA1N_SETUP_FAKEFS=1 Setup fake filesystem\n"
|
||||
" RA1N_SETUP_PARTIAL_FAKEFS=1 Setup partial fake filesystem\n"
|
||||
" RA1N_SAFE_MODE=1 Enable safe mode\n"
|
||||
" RA1N_TELNETD=1 Enable TELNET daemon on port 46 (insecure)\n"
|
||||
" RA1N_VERBOSE_BOOT=1 Enable verbose booting\n"
|
||||
" RA1N_EARLY_EXIT=1 Exit after uploading Pongo\n"
|
||||
" RA1N_EXTRA_BOOTARGS=<FILE PATH> Set extra bootargs\n"
|
||||
" RA1N_OVERRIDE_PONGO=<FILE PATH> Override Pongo image\n"
|
||||
" RA1N_OVERRIDE_KPF=<FILE PATH> Override kernel patchfinder\n"
|
||||
" RA1N_OVERRIDE_OVERLAY=<FILE PATH> Override overlay\n"
|
||||
" RA1N_OVERRIDE_RAMDISK=<FILE PATH> Override ramdisk\n"
|
||||
" RA1N_DEBUG_LOGGING=1 Enable debug logging\n"
|
||||
" RA1N_NO_COLORS=1 [f] Disable colors on the command line\n"
|
||||
" RA1N_NO_COLORS=1 Disable colors on the command line\n"
|
||||
#if defined(WITH_GUI) || defined(WITH_TUI)
|
||||
" RA1N_QUICK=1 [f] Enable Quick Mode\n"
|
||||
" RA1N_QUICK=1 Enable Quick Mode\n"
|
||||
#endif
|
||||
, argv
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user