smart --version (return code: 0)
smart 1.4
smart --help (return code: 0)
Usage: smart command [options] [arguments]
Action commands:
update
install
reinstall
upgrade
remove
check
fix
download
clean
Query commands:
search
query
newer
info
stats
Setup commands:
config
channel
priority
mirror
flag
Run "smart command --help" for more information.
Options:
--version Show program's version number and exit
--config-file=FILE Configuration file (default is <data-dir>/config)
--data-dir=DIR Data directory (default is /var/lib/smart/)
--log-level=LEVEL Set the log level to level (debug, info, warning,
error)
--gui Use the default graphic interface
--shell Use the default shell interface
--quiet Use the quiet interface
--interface=NAME Use the given interface
--ignore-locks Don't respect locking
-o OPT, --option=OPT Set the option given by a name=value pair
Examples:
smart install --help
smart install pkgname
smart --gui
smart --gui install pkgname
smart --shell