mstratman/cocoadialog — Issue #37: Using standard-dropdown without specifying button1?
Author: Tyilo
Created: 2011-12-17 23:39:25+00:00
State: open

standard-dropdown should display a dropdown list with the "Cancel" and "Okay" buttons.

However the --button1 options seems to be required although it doesn't change the button's label.

Working:
~/bin/CocoaDialog standard-dropdown --text "Favorite OS?" --items "GNU/Linux" "OS X" Windows Amiga "TI 89" --button1 "foobar"

Not working (fails with error 255):
~/bin/CocoaDialog standard-dropdown --text "Favorite OS?" --items "GNU/Linux" "OS X" Windows Amiga "TI 89"