added --debug-config

This commit is contained in:
nadrad 2022-11-25 13:38:07 +01:00
parent 13114e8a23
commit 828df2bc5d

13
h-m-m
View file

@ -115,6 +115,19 @@ config($mm, 'clipboard_file', "/tmp/h-m-m");
config($mm, 'clipboard_in_command', "");
config($mm, 'clipboard_out_command', "");
if (isset($mm['arguments']['debug_config']))
{
echo "1. the config arguments:\n";
print_r($mm['arguments']);
echo "2. the environment variables:\n";
print_r($mm['env']);
echo "3. the config file:\n";
print_r($mm['config']);
exit;
}
$clipboard = '';