Nikolaj Sjujskij avatar Nikolaj Sjujskij committed 0f51a7c

Update description and drop unused variable in CLI paster

Description should mention global ``/etc/lodgeitrc`` config file and
``server_name`` config key. ``SETTING_KEYS`` was dropped since it is unused
anywhere in project and seems to be out-of-date anyway.

Comments (0)

Files changed (1)

scripts/lodgeit.py

 
     A script that pastes stuff into the lodgeit pastebin.
 
-    .lodgeitrc / _lodgeitrc
-    -----------------------
+    lodgeitrc config file
+    ---------------------
 
-    Under UNIX create a file called ``~/.lodgeitrc``, under Windows
-    create a file ``%APPDATA%/_lodgeitrc`` to override defaults::
+    Under UNIX create a file called ``~/.lodgeitrc`` for user and/or
+    system-wide ``/etc/lodgeitrc``, under Windows create a file
+    ``%APPDATA%/_lodgeitrc`` to override defaults::
 
+        server_name=default_server_base_url
         language=default_language
         clipboard=true/false
         open_browser=true/false
 
 SCRIPT_NAME = os.path.basename(sys.argv[0])
 VERSION = '0.3'
-SETTING_KEYS = ['author', 'title', 'language', 'private', 'clipboard',
-                'open_browser', 'raw']
 
 # global server proxy
 _xmlrpc_service = None
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.