Skip to content

Commit 8eac41a

Browse files
committed
main: docu 2 env vars in fullhelp
NDILIB_REDIST_FOLDER and NV_OPTIMUS_ENABLEMENT (added recently; Win only) the others env vars used by UG are not much important for regular users
1 parent 0412738 commit 8eac41a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/main.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,14 @@ usage(bool full = false)
294294
print_help_item("--video-codecs", {"list of video codecs"});
295295
}
296296
print_help_item("address", {"destination address"});
297+
if (full) {
298+
color_printf("Environment variables: "
299+
TBOLD("NDILIB_REDIST_FOLDER")
300+
#ifdef _WIN32
301+
", " TBOLD("NV_OPTIMUS_ENABLEMENT")
302+
#endif
303+
" and others (less important)\n");
304+
}
297305
printf("\n");
298306
}
299307

0 commit comments

Comments
 (0)