From 36ad510ef200756807eda02bb1327fab6444b8f9 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Fri, 24 Apr 2020 22:26:31 +0100 Subject: [PATCH] render also sync minor handling --- .meta/mkdocs.py | 2 +- README.rst | 2 ++ tqdm/tqdm.1 | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.meta/mkdocs.py b/.meta/mkdocs.py index 0d9ff8dd..5287dfe3 100644 --- a/.meta/mkdocs.py +++ b/.meta/mkdocs.py @@ -1,7 +1,7 @@ from __future__ import print_function from os import path import sys -sys.path = [path.dirname(path.dirname(__file__))] + sys.path # NOQA +sys.path.insert(0, path.dirname(path.dirname(__file__))) # NOQA import tqdm import tqdm.cli from textwrap import dedent diff --git a/README.rst b/README.rst index bf31c171..9e4f50b6 100644 --- a/README.rst +++ b/README.rst @@ -461,6 +461,8 @@ Extra CLI Options ``unit_scale`` to True, ``unit_divisor`` to 1024, and ``unit`` to 'B'. * manpath : str, optional Directory in which to install tqdm man pages. +* comppath : str, optional + Directory in which to place tqdm completion. * log : str, optional CRITICAL|FATAL|ERROR|WARN(ING)|[default: 'INFO']|DEBUG|NOTSET. diff --git a/tqdm/tqdm.1 b/tqdm/tqdm.1 index e682c9d9..f0c69245 100644 --- a/tqdm/tqdm.1 +++ b/tqdm/tqdm.1 @@ -257,6 +257,12 @@ Directory in which to install tqdm man pages. .RS .RE .TP +.B \-\-comppath=\f[I]comppath\f[] +str, optional. +Directory in which to place tqdm completion. +.RS +.RE +.TP .B \-\-log=\f[I]log\f[] str, optional. CRITICAL|FATAL|ERROR|WARN(ING)|[default: \[aq]INFO\[aq]]|DEBUG|NOTSET.