Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. asdf@moloko ~/src/fdd $ ./fdd -h
  2. fdd -- Your personal fast food budget
  3. USAGE: ./fdd [-n N] [-s N] -t
  4. On a new month:
  5. ./fdd -n <money available per day>
  6. Otherwise:
  7. ./fdd -s <spent amount>
  8. ./fdd -t Displays a summary
  9. Money is counted in cents.
  10. asdf@moloko ~/src/fdd $ ./fdd -t -n 200
  11. --------------------------------------
  12. SUMMARY:
  13. --------------------------------------
  14. Today is 01.07.2016.
  15. Your monthly budget is: 62.00 EUR
  16. You spent: 0.00 EUR
  17. Budget until today: 2.00 EUR
  18. --------------------------------------
  19.  
  20. You can spend 2.00 EUR
  21. asdf@moloko ~/src/fdd $ ./fdd -s 100
  22. Spending of 1.00 EUR checked in.
  23. You can spend 1.00 EUR
  24. asdf@moloko ~/src/fdd $ ./fdd -s 500
  25. Spending of 5.00 EUR checked in.
  26. You can spend again on 04.07.2016
  27. asdf@moloko ~/src/fdd $ ./fdd -s 7000
  28. Spending of 70.00 EUR checked in. You overspent your monthly budget!
  29. You can spend again next month.
  30. asdf@moloko ~/src/fdd $ ./fdd -t
  31. --------------------------------------
  32. SUMMARY:
  33. --------------------------------------
  34. Today is 01.07.2016.
  35. Your monthly budget is: 62.00 EUR
  36. You spent: 76.00 EUR
  37. Budget until today: 2.00 EUR
  38. --------------------------------------
  39.  
  40. You can spend again next month.
  41. asdf@moloko ~/src/fdd $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement