![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Functions for handling command line arguments. More...
Functions | |
int | creds (const char *name, int argc, char *argv[]) |
Reset the user credentials. | |
int | help (const char *name) |
Print help to stdout, then exit. | |
int | restore_nvprefs_undo () |
Restore global NVIDIA control panel settings. If Sunshine was improperly terminated, this function restores the global NVIDIA control panel settings to the undo file left by Sunshine. This function is typically called by the uninstaller. | |
int | version () |
Print the version to stdout, then exit. | |
Functions for handling command line arguments.
int args::creds | ( | const char * | name, |
int | argc, | ||
char * | argv[] ) |
Reset the user credentials.
name | The name of the program. |
argc | The number of arguments. |
argv | The arguments. |
Examples
int args::help | ( | const char * | name | ) |
int args::restore_nvprefs_undo | ( | ) |
Restore global NVIDIA control panel settings. If Sunshine was improperly terminated, this function restores the global NVIDIA control panel settings to the undo file left by Sunshine. This function is typically called by the uninstaller.
Examples
int args::version | ( | ) |