Run wios with no options to see the complete help. There are three types of options mode, device, and general, which can be freely combined. For example, if you want to record 2 seconds from an ALSA device at a sampling rate 44.1kHz and record it into voice.wav, the options are
wios -x 0 -f 44100 -t 2 -o voice.wav
See the recipe “Recording multichannel sound” of the HARK cookbook for other examples.
The descriptions of the options for each category are