We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
verdi config downgrade
1 parent 8487e21 commit 821f609Copy full SHA for 821f609
src/aiida/cmdline/commands/cmd_config.py
@@ -213,7 +213,7 @@ def verdi_config_caching(disabled):
213
214
215
@verdi_config.command('downgrade')
216
-@click.argument('version', type=click.Choice(list({str(m.down_revision) for m in MIGRATIONS})))
+@click.argument('version', type=click.Choice(sorted(list({str(m.down_revision) for m in MIGRATIONS}))))
217
def verdi_config_downgrade(version):
218
"""Print a configuration, downgraded to a specific version."""
219
path = Path(get_config_path())
0 commit comments