Brief summary of problem (put in title as well): Command Line arguments not working
Radio Model: N/A
Connectivity (USB/Ethernet/Wifi/Other): N/A
Operating System: Windows 10
wfview version (press “About”): 2.03
Checked the wfview manual (Y/N): Y
Checked the wfview FAQ (Y/N): ? Where
Tried to google it (Y/N/NA): Y
What I did: tried running wfview.exe from command prompt using command line arguments
Expected behavior: Expected --help to provide a help screen
Observed behavior: no help screen output. Also to note, adding anything as an argument prevents Wfview from starting.
I am really trying to setup multiple configuration files as listed in the user manual, but I don’t know how to create a base .conf file or a specific set of settings. I know the default location is in the registry but I want to setup configuration files for remoting into multiple machines and create an icon in Windows for each remote machine.
I love the work you guys are doing and appreciate all of the effort.
Thanks
First off, you will need to be in a terminal to really see what is happening. Drop into a windows “cmd” shell and try:
$ wfview --help
Current translation language: ""
Recognized requested language and loaded the translations (or at least found the /translations resource folder). Installing translator.
Changed to translation language: "en_US"
Usage: -l --logfile filename.log, -s --settings filename.ini, -c --clearconfig CONFIRM, -b --background (not Windows), -d --debug, -v --version
Second, per the manual:
The file doesn’t need to initially exist, wfview will create the specified file when you press “Save Settings”.
So, there is no need to create a blank conf file at all. Just tell wfview to use a different settings file. wfview will take care of placing the file in the appropriate directory and wfview will create the file when you press “Save Settings”
If you need confirmation of this, look at the log of wfview (press “Log”) and you will see something like this when you have specified a settings file:
wfview --settings foobar2000.conf
2025-03-01 18:17:32.522 INF system: Loading settings from "/home/eliggett/.local/share/wfview/wfview/foobar2000.conf"
2025-03-01 18:17:32.522 WRN system: Settings previously saved under version "unset" , you should review your settings and press SaveSettings.
Just trust it, it will work. Once you press Save Settings, the settings file gets created and used on the next launch.
This is a consequence of the way our development framework (Qt) operates in Windows, programs can either be command line or UI based, but unfortunately not both. This means the --help option doesn’t display anything in Windows, but command line options will still work.