Georgi Valkov
|
6a4f0a114d
|
Use stty size to find terminal width if we're on linux and COLUMNS is not exported
|
2011-08-23 17:03:28 +03:00 |
|
Georgi Valkov
|
5adcaa4385
|
Refactor main function
|
2011-08-23 16:48:08 +03:00 |
|
Georgi Valkov
|
51c8e53ffe
|
Set help formatter width to terminal width (prevents wrapping)
|
2011-08-23 16:42:51 +03:00 |
|
Georgi Valkov
|
4f9f96f646
|
Option parsing refactoring ; Moved version string to __version__
Brings terser option formatting to youtube-dl:
from: -u USERNAME, --username USERNAME
to: -u, --username USERNAME
|
2011-08-23 15:53:36 +03:00 |
|
Georgi Valkov
|
5fb3df4aff
|
Move update_self out of __main__ for clarity
|
2011-08-23 15:37:35 +03:00 |
|
Georgi Valkov
|
7a9054ec79
|
Fix small indentation inconsistencies
|
2011-08-23 15:01:51 +03:00 |
|
Georgi Valkov
|
2770590d5a
|
Use module metadata variables instead of comments
|
2011-08-23 14:58:22 +03:00 |
|
Georgi Valkov
|
e9cb9c2811
|
Add vim modeline
|
2011-08-23 14:45:26 +03:00 |
|