more cli tests

This commit is contained in:
Thomas Ruoff
2016-03-08 22:32:30 +01:00
parent a82891c9e8
commit 03f11a88d5
2 changed files with 63 additions and 1 deletions

2
cli.js
View File

@@ -39,7 +39,7 @@ if (argv.help || argv.h) {
console.log('Using profile', profile);
}
console.log('Switching on', selectedMonitors);
console.log('Switching on', selectedMonitors.length ? selectedMonitors : 'all connected monitors');
devices.then(devices => {
const xrandrOptions = swm.generateXrandrOptions(selectedMonitors, devices);