From 632d3db10263a292e3bd70bbe86e565e2e916c34 Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Tue, 15 Nov 2022 14:36:17 +0100 Subject: [PATCH] Fix sade option --- src/scripts/import_dole.ts | 2 +- src/scripts/import_jorf.ts | 2 +- src/scripts/import_kali.ts | 2 +- src/scripts/import_legi.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/import_dole.ts b/src/scripts/import_dole.ts index f4e4eba..9315439 100644 --- a/src/scripts/import_dole.ts +++ b/src/scripts/import_dole.ts @@ -115,7 +115,7 @@ async function importDole({ resume }: { resume?: string } = {}): Promise { sade("import_dole", true) .describe("Import Dila's DOLE database") - .option("-r", "--resume", "Resume import at given relative file path") + .option("-r, --resume", "Resume import at given relative file path") .example( "--resume dole/global/JORF/DOLE/00/00/36/07/36/JORFDOLE000036073697.xml", ) diff --git a/src/scripts/import_jorf.ts b/src/scripts/import_jorf.ts index 362a309..afa99c9 100644 --- a/src/scripts/import_jorf.ts +++ b/src/scripts/import_jorf.ts @@ -384,7 +384,7 @@ async function importJorf({ resume }: { resume?: string } = {}): Promise { sade("import_jorf", true) .describe("Import Dila's JORF database") - .option("-r", "--resume", "Resume import at given relative file path") + .option("-r, --resume", "Resume import at given relative file path") .example( "--resume global/eli/accord/2002/5/5/MESS0221690X/jo/article_1/versions.xml", ) diff --git a/src/scripts/import_kali.ts b/src/scripts/import_kali.ts index 0be24c0..49aa713 100644 --- a/src/scripts/import_kali.ts +++ b/src/scripts/import_kali.ts @@ -315,7 +315,7 @@ async function importKali({ resume }: { resume?: string } = {}): Promise { sade("import_kali", true) .describe("Import Dila's KALI database") - .option("-r", "--resume", "Resume import at given relative file path") + .option("-r, --resume", "Resume import at given relative file path") .example( "--resume global/conteneur/KALI/CONT/00/00/05/63/50/KALICONT000005635082.xml", ) diff --git a/src/scripts/import_legi.ts b/src/scripts/import_legi.ts index fd7ac51..e8c3e2e 100644 --- a/src/scripts/import_legi.ts +++ b/src/scripts/import_legi.ts @@ -343,7 +343,7 @@ async function importLegi({ resume }: { resume?: string } = {}): Promise { sade("import_legi", true) .describe("Import Dila's LEGI database") - .option("-r", "--resume", "Resume import at given relative file path") + .option("-r, --resume", "Resume import at given relative file path") .example( "--resume global/eli/accord/2002/5/5/MESS0221690X/jo/article_1/versions.xml", )