Comme l'on a des arguments obligatoires, pas de besoin de vérifier s'il y en a.
This commit is contained in:
		@@ -1,7 +1,6 @@
 | 
				
			|||||||
#!/usr/bin/env python3
 | 
					#!/usr/bin/env python3
 | 
				
			||||||
# -*- coding: utf-8 -*-
 | 
					# -*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import sys
 | 
					 | 
				
			||||||
import json
 | 
					import json
 | 
				
			||||||
import argparse
 | 
					import argparse
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -55,10 +54,6 @@ parser.add_argument(
 | 
				
			|||||||
    help="Sélectionne des mots commençants par firstLetter et composés de ft voyelles différentes: -ft 4",
 | 
					    help="Sélectionne des mots commençants par firstLetter et composés de ft voyelles différentes: -ft 4",
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if not len(sys.argv) > 1:
 | 
					 | 
				
			||||||
    print("-h or --help pour afficher l'aide")
 | 
					 | 
				
			||||||
    exit(1)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
args = parser.parse_args()
 | 
					args = parser.parse_args()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Dictionary
 | 
					# Dictionary
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user