Telescope plugin. Enhancement of features

Bug #1042714 reported by Pavel-II
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Wishlist
Pavel-II

Bug Description

In patch adds the ability to set the values Right Ascension and Declination (J2000) ​​of the current object.

Also, add the following file in the installation kit
 /etc/bash_completion.d/stellarium
with text:

_stellarium(){

    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    stell_subcommands="-v --version -h --help --safe-mode -c --config-file -u --user-dir -f --full-screen --screenshot-dir --home-planet --altitude --longitude --latitude --list-landscapes --landscape --sky-date --sky-time --fov --projection-type"

    if [[ ${COMP_CWORD} == 1 ]] ; then
        COMPREPLY=( $(compgen -W "${stell_subcommands}" -- ${cur}) )
        return 0
    fi
}
complete -F _stellarium stellarium

it`s help run stellarium from command line

Related branches

Revision history for this message
Pavel-II (dzy4) wrote :
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Thanks for patch!

About bash completion - not all uses bash :-/

Changed in stellarium:
milestone: none → 0.12.0
importance: Undecided → Wishlist
assignee: nobody → rich (dzy4)
status: New → Fix Committed
Revision history for this message
Alexander Wolf (alexwolf) wrote :
tags: removed: help patch usability
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.