diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | snakemake.el | 12 |
2 files changed, 10 insertions, 6 deletions
@@ -6,6 +6,10 @@ NEWS -- history of user-visible changes -*- mode: org; -*- transient, ~snakemake~. snakemake.el now depends on Transient rather than Magit Popup. +- The ~--jobs~ argument in the ~snakemake~ transient has been replaced + by ~--cores~ to follow upstream changes. ~--cores~ is bound to + ~-c~, and ~--use-conda~ has been moved from ~-c~ to ~-C~. + - The 'name' keyword (new in Snakemake v5.31.0) is now recognized. * v1.8.0 diff --git a/snakemake.el b/snakemake.el index 61f6cbb..91fef4f 100644 --- a/snakemake.el +++ b/snakemake.el @@ -733,17 +733,17 @@ $ snakemake [ARGS] -- <targets>" :argument "--allowed-rules=" :reader 'snakemake-read-rules) -(transient-define-argument snakemake:--jobs () - :description "Number of jobs" +(transient-define-argument snakemake:--cores () + :description "Number of cores" :class 'transient-option - :key "-j" - :argument "--jobs=") + :key "-c" + :argument "--cores=") ;;;###autoload (autoload 'snakemake "snakemake" nil t) (transient-define-prefix snakemake "Transient for running Snakemake." ["Arguments" - ("-c" "Use conda" "--use-conda") + ("-C" "Use conda" "--use-conda") ("-f" "Force" "--force") ("-i" "Ignore temp()" "--notemp") ("-n" "Dry run" "--dryrun") @@ -751,7 +751,7 @@ $ snakemake [ARGS] -- <targets>" ("-r" "Print reason" "--reason") ("-t" "Touch files" "--touch") (snakemake:--allowed-rules) - (snakemake:--jobs)] + (snakemake:--cores)] ["Actions" [("c" "Edit and run command" snakemake-build)] [("p" "Build target at point" snakemake-build-targets-at-point) |