Comment 2 for bug 1052876

Revision history for this message
Gavin Panella (allenap) wrote : Re: [Bug 1052876] Re: When invoked without arguments, maascli is too terse

The maas-cli script is:

  #!/bin/sh
  exec python -m maascli "$@"

The original $0 gets lost.

A fix might be to change this script to:

  #!/usr/bin/python
  from maascli import main
  main()