7 Commits

Author SHA1 Message Date
IceArmy 7f6fec5b5e Refactor main file
- Moved main code to main()
- Moved argument parsing to parseArgs()

Changed
- Removed qFatal's and replaced them with sys.exit(message)
- upload-file: Fixed bug where tag= (if it wasn't in first arg) wasn't caught as empty
- upload-file: Added duplicate tag checking
2011-04-27 02:45:41 -07:00
IceArmy 24f013df73 Script arguments can now use --option type args
... as long as the option names don't conflict with the programs option names of course
2011-04-13 08:12:43 -07:00
IceArmy 2121fb4026 Added option for disk cache use 2011-04-12 19:36:25 -07:00
IceArmy 1bdd1867ff Remove some extra spacing on the header 2011-04-12 01:37:47 -07:00
IceArmy 42dbe9d8f2 Fixed bug in main file where QString was not defined
Added message handling system
Simplified userAgent system
Added qDebug and qFatal messages
qDebug does not display unless you specify -v or --verbose on the command line
2011-04-12 01:34:20 -07:00
IceArmy 0bc48c7131 Fix usage message from tag:file to tag=file 2011-04-12 01:33:15 -07:00
IceArmy af2cdf944d Refactor code into separate files 2011-04-12 01:32:07 -07:00