X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Futils%2Fstartopt.py;h=c3fb161a67aca583b5907057d974a1d09cf25530;hb=799caf7d8e01cf9a10857bda5738fe98afd3902e;hp=bfee3f124876f39a379abfad069af7db72958860;hpb=a260ebea93f23d72aa6e0178744b0f64c469b7ba;p=mpd-sima.git diff --git a/sima/utils/startopt.py b/sima/utils/startopt.py index bfee3f1..c3fb161 100644 --- a/sima/utils/startopt.py +++ b/sima/utils/startopt.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2009-2015, 2021 kaliko +# Copyright (c) 2009-2015, 2022 kaliko # # This file is part of sima # @@ -112,8 +112,12 @@ CMDS = [ ], 'help': 'Add track to the blocklist'}, {'bl-delete': [ {'name': 'id', 'type': int, 'nargs': '?', - 'help': 'blocklist ID to suppress (use bl-view list IDs)'} + 'help': 'blocklist ID to suppress (use bl-view to list IDs)'} ], 'help': 'Remove entries from the blocklist'}, + {'random': [ + {'name': 'nbtracks', 'type': int, 'nargs': '?', + 'help': 'Number of tracks to add'} + ], 'help': 'Start in random auto queuing'}, ]