Skip to content

Commit

Permalink
Merge pull request #100 from samuelrince/Valentin4
Browse files Browse the repository at this point in the history
MAJ de la commande 'help'
  • Loading branch information
Vazroc authored Apr 4, 2019
2 parents 89994f6 + eacd934 commit 052d409
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,26 +682,28 @@ public static void interprete(String[] tokens) {
case "help": {
if (arguments.length == 0) {
System.err.println("\n"+"exit"+"\n"
+"setup <velibnetworkName>"+"\n"
+"setup <velibnetworkName> <nstations> <nslots> <radius> <nbikes>"+"\n"
+"setup <networkName>"+"\n"
+"setup <networkName> <nstations> <nplus> <nslots> <shape> <centerLat> <centerLong> <param> <populationPercent> <type1Percent> <type2Percent>"+"\n"
+"createBackup"+"\n"
+"listBackup"+"\n"
+"loadBackup <velibnetworkName>"+"\n"
+"loadBackup <networkName>"+"\n"
+"loadBackup <networkBackupFileName>"+"\n"
+"addUser <userName> <cardType>"+"\n"
+"addUser <userName> <password> <cardType>"+"\n"
+"switch <velibnetworkName>"+"\n"
+"switch <networkName>"+"\n"
+"time <hour> <min> <sec>"+"\n"
+"date <year> <month> <day>"+"\n"
+"offline <stationID>"+"\n"
+"online <stationID>"+"\n"
+"locateUser <userID> <latitude> <longitude>"+"\n"
+"notifyUser <userID> <message>"+"\n"
+"rentBike <userID> <stationID>"+"\n"
+"rentBike <userID> <stationID> <bicycleType>"+"\n"
+"returnBike <userID> <stationID>"+"\n"
+"displayStation <stationID>"+"\n"
+"displayUser <userID>"+"\n"
+"sortStation <sortpolicy>"+"\n"
+"display <velibnetworkName>"+"\n"
+"display <networkName>"+"\n"
+"runTest <testScenarioN.txt>"+"\n"
+"startStationGUI <stationID>"+"\n"
+"startUserGUI <userID>"+"\n");
Expand Down
2 changes: 1 addition & 1 deletion testScenario4.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
delete all
day 2019 4 1
date 2019 4 1
time 10 0 0
setup 'City' 3 0 1 'square' 48 2 10 60 100 0
addUser 'Bob' 'vlibre'
Expand Down

0 comments on commit 052d409

Please sign in to comment.