changed default tag

This commit is contained in:
John Lancaster
2024-05-27 00:17:24 -05:00
parent 17f9fa203e
commit f68cb56d4f

View File

@@ -56,7 +56,7 @@ def run(backup_dir: Path, loki_url: str = None, tag: str = 'python-script'):
) )
@click.option('--loki-url', type=str, help='Loki URL for logging', envvar='LOKI_URL') @click.option('--loki-url', type=str, help='Loki URL for logging', envvar='LOKI_URL')
@click.option('--tag', type=str, help='Tag to use in restic') @click.option('--tag', type=str, help='Tag to use in restic')
def main(backup_dir: Path, loki_url: str = None, tag: str = None): def main(backup_dir: Path, loki_url: str = None, tag: str = 'python-script'):
console = Console() console = Console()
logging.basicConfig( logging.basicConfig(