File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1809,12 +1809,40 @@ def addRemoteAdminArgs(parser: argparse.ArgumentParser) -> argparse.ArgumentPars
18091809 action = "store_true" ,
18101810 )
18111811
1812+ group .add_argument (
1813+ "--backup-prefs" ,
1814+ help = "Tell the destination node to create a backup preferences file."
1815+ "Location: 0 for local flash, 1 for SD card." ,
1816+ default = None ,
1817+ nargs = "?" ,
1818+ const = 0 ,
1819+ )
1820+
1821+ group .add_argument (
1822+ "--restore-prefs" ,
1823+ help = "Tell the destination node to remove backup preferences files."
1824+ "Location: 0 for local flash, 1 for SD card." ,
1825+ default = None ,
1826+ nargs = "?" ,
1827+ const = 0 ,
1828+ )
1829+
1830+ group .add_argument (
1831+ "--remove-backup-prefs" ,
1832+ help = "Tell the destination node to remove backup preferences files."
1833+ "Location: 0 for local flash, 1 for SD card." ,
1834+ default = None ,
1835+ nargs = "?" ,
1836+ const = 0 ,
1837+ )
1838+
18121839 group .add_argument (
18131840 "--remove-node" ,
18141841 help = "Tell the destination node to remove a specific node from its NodeDB. "
18151842 "Use the node ID with a '!' or '0x' prefix or the node number." ,
18161843 metavar = "!xxxxxxxx"
18171844 )
1845+
18181846 group .add_argument (
18191847 "--set-favorite-node" ,
18201848 help = "Tell the destination node to set the specified node to be favorited on the NodeDB. "
You can’t perform that action at this time.
0 commit comments