From 5a504bcdfdddb937adc2fdbbea510d0b061eca94 Mon Sep 17 00:00:00 2001 From: Guoyi Zhang Date: Tue, 10 Dec 2024 19:11:18 +1100 Subject: [PATCH] fix: -m missing --- RGBEPP.d | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/RGBEPP.d b/RGBEPP.d index 30134c2..9203404 100644 --- a/RGBEPP.d +++ b/RGBEPP.d @@ -17,9 +17,9 @@ void show_help(string pkgver) { License: GPL-2.0-only Author: Guoyi Zhang -c\t--config\tconfig file for software path (optional) - -g\t--genes\t\tgene file path (optional, if -r is specified) -f\t--functions\tfunctions type (optional): all clean assembly \t \t map postmap varcall consen codon align trim + -g\t--genes\t\tgene file path (optional, if -r is specified) -h\t--help\t\tshow this information -l\t--list\t\tlist file path -m\t--memory\tmemory settings (optional, default 16 GB) @@ -632,6 +632,10 @@ void main(string[] args) { i++; ARG_L ~= readArrFromFile(args[i]); break; + case "-m", "--memory": + i++; + ARG_M = args[i].to!int; + break; case "-r", "--reference": i++; ARG_R = args[i]; @@ -679,14 +683,14 @@ void main(string[] args) { i++; PathMacse = args[i]; break; - case "--trimal": - i++; - PathTrimal = args[i]; - break; case "--delstop": i++; PathDelstop = args[i]; break; + case "--trimal": + i++; + PathTrimal = args[i]; + break; default: break; }