mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	Improve sta_name argparse variable
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		@@ -131,7 +131,8 @@ def main():
 | 
				
			|||||||
        ''')
 | 
					        ''')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    parser.add_argument('--mode', help='Used to force mode of stations')
 | 
					    parser.add_argument('--mode', help='Used to force mode of stations')
 | 
				
			||||||
    parser.add_argument('--sta_name', help='Name of station to be used', default=["sta0000"])
 | 
					    parser.add_argument('--sta_name', help='Optional: User defined station names, can be a comma or space separated list', nargs='+',
 | 
				
			||||||
 | 
					                        default=["sta0000"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    args = parser.parse_args()
 | 
					    args = parser.parse_args()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user